astrimid/dual_standby_power_example

This code defines an electronic power regulation circuit comprising a TPS51285B controller, input and output filtering components, and two parallel synchronous buck converter channels generating 5V and 3.3V outputs with associated MOSFETs, inductors, and capacitors.

Version
0.0.1
License
unset
Stars
0

dist/index.js

SchematicSchematic preview for dist/index.js
import { jsx, jsxs } from 'react/jsx-runtime';
import { TPS51285B } from '@tsci/astrimid.TPS51285B';

const StandbyDualController = () => {
    return (jsx("board", { schMaxTraceDistance: 10, routingDisabled: true, children: jsxs("subcircuit", { schMaxTraceDistance: 10, children: [jsx(TPS51285B, { name: "U1", schematicStyle: "system", schX: 0, schY: 0 }), jsx("netlabel", { net: "GND", connectsTo: "U1.TP", schX: 0, schY: -3, anchorSide: "top" }), jsx("port", { name: "V_SYS_IN", type: "power_input", schX: -6.5, schY: -0.5 }), jsx("netlabel", { net: "V_SYS", connectsTo: ".V_SYS_IN", schX: -6.5, schY: -0.25, anchorSide: "bottom" }), jsx("capacitor", { name: "C_SYS1", capacitance: "10uF", maxVoltageRating: "25V", footprint: "0805", schX: -4.5, schY: 1.5, schRotation: 90 }), jsx("capacitor", { name: "C_SYS2", capacitance: "0.1uF", maxVoltageRating: "25V", footprint: "0402", schX: -3, schY: 1.5, schRotation: 90 }), jsx("trace", { from: ".V_SYS_IN", to: "C_SYS2.pin2" }), jsx("trace", { from: ".V_SYS_IN", to: "C_SYS1.pin2" }), jsx("trace", { from: "C_SYS1.pin2", to: "C_SYS2.pin2" }), jsx("trace", { from: "C_SYS2.pin2", to: "U1.VIN" }), jsx("netlabel", { net: "GND", connectsTo: "C_SYS1.pin1", schX: -4.5, schY: 1.0, anchorSide: "top" }), jsx("netlabel", { net: "GND", connectsTo: "C_SYS2.pin1", schX: -3, schY: 1.0, anchorSide: "top" }), jsx("netlabel", { net: "EN1", connectsTo: "U1.EN1", schX: -0.2, schY: 3, anchorSide: "bottom" }), jsx("netlabel", { net: "EN2", connectsTo: "U1.EN2", schX: 0, schY: 3, anchorSide: "bottom" }), jsx("capacitor", { name: "C_VREG5", capacitance: "2.2uF", maxVoltageRating: "10V", footprint: "0402", schX: 3.0, schY: 1.5, schRotation: 90 }), jsx("capacitor", { name: "C_VREG3", capacitance: "2.2uF", maxVoltageRating: "10V", footprint: "0402", schX: 4.5, schY: 1.5, schRotation: 90 }), jsx("trace", { from: "U1.VREG5", to: "C_VREG5.pin2" }), jsx("trace", { from: "U1.VREG3", to: "C_VREG3.pin2" }), jsx("netlabel", { net: "GND", connectsTo: "C_VREG5.pin1", schX: 3.0, schY: 1.0, anchorSide: "top" }), jsx("netlabel", { net: "GND", connectsTo: "C_VREG3.pin1", schX: 4.5, schY: 1.0, anchorSide: "top" }), jsx("netlabel", { net: "VFB1", connectsTo: "U1.VFB1", schX: 2.0, schY: -1.2, anchorSide: "top" }), jsx("netlabel", { net: "VO1", connectsTo: "U1.VO1", schX: 2.5, schY: -1.2, anchorSide: "top" }), jsx("netlabel", { net: "VFB2", connectsTo: "U1.VFB2", schX: 3.0, schY: -1.2, anchorSide: "top" }), jsx("mosfet", { name: "Q1_HS", manufacturerPartNumber: "CSD17578Q3A", footprint: "dfn8_3x3", channelType: "n", mosfetMode: "enhancement", symbolDrainSide: "top", symbolSourceSide: "bottom", symbolGateSide: "right", schX: -4.5, schY: -4 }), jsx("mosfet", { name: "Q1_LS", manufacturerPartNumber: "CSD17578Q3A", footprint: "dfn8_3x3", channelType: "n", mosfetMode: "enhancement", symbolDrainSide: "top", symbolSourceSide: "bottom", symbolGateSide: "right", schX: -4.5, schY: -7.5 }), jsx("netlabel", { net: "V_SYS", connectsTo: "Q1_HS.drain", schX: -4.5, schY: -2.8, anchorSide: "bottom" }), jsx("netlabel", { net: "GND", connectsTo: "Q1_LS.source", schX: -4.5, schY: -8.7, anchorSide: "top" }), jsx("net", { name: "Q1HS_to_Q1LS" }), jsx("trace", { name: "Q1HS_to_Q1LS", from: "Q1_HS.source", to: "Q1_LS.drain" }), jsx("trace", { from: "U1.DRVH1", to: "Q1_HS.gate" }), jsx("trace", { from: "U1.DRVL1", to: "Q1_LS.gate" }), jsx("trace", { from: "L_5V.pin2", to: "net.Q1HS_to_Q1LS" }), jsx("netlabel", { net: "SW1", connectsTo: "net.L_5V_Q1", schX: -5.5, schY: -4.5, anchorSide: "top" }), jsx("netlabel", { net: "L_5V_Q1", connectsTo: "U1.SW1", schX: -0.8, schY: -3, anchorSide: "top" }), jsx("inductor", { name: "L_5V", inductance: "2.2uH", maxCurrentRating: "6A", footprint: "0603", schX: -6.2, schY: -5.5 }), jsx("capacitor", { name: "C_5V1", capacitance: "22uF", maxVoltageRating: "10V", footprint: "0805", schX: -9.5, schY: -6.5, schRotation: 90 }), jsx("capacitor", { name: "C_5V2", capacitance: "22uF", maxVoltageRating: "10V", footprint: "0805", schX: -8.2, schY: -6.5, schRotation: 90 }), jsx("trace", { from: "L_5V.pin1", to: "C_5V2.pin2" }), jsx("trace", { from: "L_5V.pin1", to: "C_5V1.pin2" }), jsx("trace", { from: "C_5V1.pin2", to: "C_5V2.pin2" }), jsx("netlabel", { net: "GND", connectsTo: "C_5V1.pin1", schX: -9.5, schY: -7.2, anchorSide: "top" }), jsx("netlabel", { net: "GND", connectsTo: "C_5V2.pin1", schX: -8.2, schY: -7.2, anchorSide: "top" }), jsx("netlabel", { net: "VFB1", connectsTo: "L_5V.pin1", schX: -7.2, schY: -4.5, anchorSide: "bottom" }), jsx("netlabel", { net: "VO1", connectsTo: "L_5V.pin1", schX: -7.7, schY: -3.8, anchorSide: "bottom" }), jsx("port", { name: "VOUT_5V", type: "power_output", schX: -11.5, schY: -5.5 }), jsx("trace", { from: "C_5V2.pin2", to: ".VOUT_5V" }), jsx("mosfet", { name: "Q2_HS", manufacturerPartNumber: "CSD17578Q3A", footprint: "dfn8_3x3", channelType: "n", mosfetMode: "enhancement", symbolDrainSide: "top", symbolSourceSide: "bottom", symbolGateSide: "left", schX: 4.5, schY: -4 }), jsx("mosfet", { name: "Q2_LS", manufacturerPartNumber: "CSD17578Q3A", footprint: "dfn8_3x3", channelType: "n", mosfetMode: "enhancement", symbolDrainSide: "top", symbolSourceSide: "bottom", symbolGateSide: "left", schX: 4.5, schY: -7.5 }), jsx("netlabel", { net: "V_SYS", connectsTo: "Q2_HS.drain", schX: 4.5, schY: -2.8, anchorSide: "bottom" }), jsx("netlabel", { net: "GND", connectsTo: "Q2_LS.source", schX: 4.5, schY: -8.7, anchorSide: "top" }), jsx("net", { name: "Q2HS_to_Q2LS" }), jsx("trace", { name: "Q2HS_to_Q2LS", from: "Q2_HS.source", to: "Q2_LS.drain" }), jsx("trace", { from: "U1.DRVH2", to: "Q2_HS.gate" }), jsx("trace", { from: "U1.DRVL2", to: "Q2_LS.gate" }), jsx("trace", { from: "L_3V3.pin1", to: "net.Q2HS_to_Q2LS" }), jsx("netlabel", { net: "SW2", connectsTo: "net.L_3V3_Q2", schX: 5.5, schY: -4.5, anchorSide: "bottom" }), jsx("netlabel", { net: "L_3V3_Q2", connectsTo: "U1.SW2", schX: 0.8, schY: -3, anchorSide: "top" }), jsx("trace", { from: "U1.SW2", to: "net.L_3V3_Q2", anchorSide: "bottom" }), jsx("inductor", { name: "L_3V3", inductance: "2.2uH", maxCurrentRating: "6A", footprint: "0603", schX: 6.2, schY: -5.5 }), jsx("capacitor", { name: "C_3V3_1", capacitance: "22uF", maxVoltageRating: "6.3V", footprint: "0805", schX: 8.2, schY: -6.5, schRotation: 90 }), jsx("capacitor", { name: "C_3V3_2", capacitance: "22uF", maxVoltageRating: "6.3V", footprint: "0805", schX: 9.5, schY: -6.5, schRotation: 90 }), jsx("trace", { from: "L_3V3.pin2", to: "C_3V3_2.pin2" }), jsx("trace", { from: "L_3V3.pin2", to: "C_3V3_1.pin2" }), jsx("trace", { from: "C_3V3_1.pin2", to: "C_3V3_2.pin2" }), jsx("netlabel", { net: "GND", connectsTo: "C_3V3_1.pin1", schX: 8.2, schY: -7.2, anchorSide: "top" }), jsx("netlabel", { net: "GND", connectsTo: "C_3V3_2.pin1", schX: 9.5, schY: -7.2, anchorSide: "top" }), jsx("netlabel", { net: "VFB2", connectsTo: "L_3V3.pin2", schX: 7.2, schY: -4.5, anchorSide: "bottom" }), jsx("port", { name: "VOUT_3V3", type: "power_output", schX: 11.5, schY: -5.5 }), jsx("trace", { from: "C_3V3_2.pin2", to: ".VOUT_3V3" })] }) }));
};

export { StandbyDualController };