diff --git a/README.md b/README.md index 0f890b4f..1be097b3 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,7 @@ The package currently exports these subcircuit components: - `LevelShifter_TXB0104` - `LevelShifter_TXS0102` - `RFIDReader_TRF7960` +- `PMP11774_AuxiliaryPower` — PMP11774 auxiliary flyback supply reproduced from TI's native TIDRLL5 schematic ## Exported Chips diff --git a/index.ts b/index.ts index d0b544b8..2b63a68b 100644 --- a/index.ts +++ b/index.ts @@ -101,6 +101,7 @@ import { BatteryCharging_2to5CellNVDCBuckBoost_BQ25731 } from "./lib/subcircuits import { BoostConverter_TPS61236 } from "./lib/subcircuits/BoostConverter_TPS61236.circuit.tsx"; import { Microcontroller_MSP430G2332 } from "./lib/subcircuits/Microcontroller_MSP430G2332.circuit.tsx"; import { USBC_PowerDeliveryProgrammablePowerSupply_TPS61288 } from "./lib/subcircuits/USBC_PowerDeliveryProgrammablePowerSupply_TPS61288.circuit.tsx"; +import { PMP11774_AuxiliaryPower } from "./lib/subcircuits/PMP11774_AuxiliaryPower.circuit.tsx"; export * from "./lib/chips/index.tsx"; @@ -153,6 +154,7 @@ export { BoostConverter_TPS61236, Microcontroller_MSP430G2332, USBC_PowerDeliveryProgrammablePowerSupply_TPS61288, + PMP11774_AuxiliaryPower, }; export const TiChipComponents = { @@ -257,6 +259,7 @@ export const TiSubcircuitComponents = { BoostConverter_TPS61236, Microcontroller_MSP430G2332, USBC_PowerDeliveryProgrammablePowerSupply_TPS61288, + PMP11774_AuxiliaryPower, } as const; export type TiChipName = keyof typeof TiChipComponents; diff --git a/lib/subcircuits/PMP11774_AuxiliaryPower.circuit.tsx b/lib/subcircuits/PMP11774_AuxiliaryPower.circuit.tsx new file mode 100644 index 00000000..b9c25402 --- /dev/null +++ b/lib/subcircuits/PMP11774_AuxiliaryPower.circuit.tsx @@ -0,0 +1,1211 @@ +import type { SubcircuitProps } from "@tscircuit/props"; +import "tscircuit"; + +type GroundProps = { + net: "GND" | "_Vpri"; + connectsTo: string | string[]; + schX: number; + schY: number; + anchorSide?: "left" | "top" | "right" | "bottom"; +}; + +const Ground = ({ + net, + connectsTo, + schX, + schY, + anchorSide = "top", +}: GroundProps) => ( + +); + +const symbolStroke = 0.04; +const symbolColor = "#c77600"; + +const TransformerCoilArc = ({ + x, + y, + startAngleDegrees, + endAngleDegrees, +}: { + x: number; + y: number; + startAngleDegrees: number; + endAngleDegrees: number; +}) => ( + +); + +const AcInputSymbol = () => ( + + + + + + + + +); + +const BridgeRectifierSymbol = () => ( + + + + + + + + + + + + + +); + +const TransformerSymbol = () => ( + + + + + + + + {[-1.35, -0.9, -0.45, 0, 0.45, 0.9, 1.35].map((y) => ( + + ))} + {[-1.42, -0.94, -0.46, 0.5, 0.98, 1.46].map((y) => ( + + ))} + + + + + + + + + + + + + + + + + + + +); + +const ProtectionZenerSymbol = ({ + name, + value, +}: { + name: string; + value: string; +}) => ( + + + + + + + + + + + + + +); + +const OutputConnectorSymbol = () => ( + + + + + + + +); + +const TestpointSymbol = ({ color = "#d63b32" }: { color?: string }) => ( + + + + +); + +const ReturnJumperSymbol = () => ( + + + + + + + + +); + +/** + * PMP11774 8 W auxiliary flyback power supply. + * Values, reference designators, pin nets, and functional placement follow + * TI's released PMP11774 Rev C schematic and BOM (TIDRLL5/TIDRLL6). + * @see https://www.ti.com/lit/pdf/TIDRLL5 + * @see https://www.ti.com/lit/pdf/TIDRLL6 + */ +export const PMP11774_AuxiliaryPower = (props: SubcircuitProps) => ( + + + + + + + + + + + + {/* AC input, EMI filter, and bridge rectifier */} + } + /> + + } + /> + } + /> + + + + + + + + + } + /> + + + + + + + + + + + + {/* Primary winding, clamp network, and transformer */} + + + + + } + /> + + + + + + + {/* 18 V and 5 V rectifier/output networks */} + + + + + } + /> + } + /> + + + + + + + + + } + /> + } + /> + } + /> + + + + } + /> + + + + + + + + + + + + + + + + + + + {/* UCC28911 bias, regulation divider, and current-limit network */} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {/* Optional return-to-return links from the released design */} + } + /> + + + + + + +); + +export default PMP11774_AuxiliaryPower; diff --git a/lib/subcircuits/__snapshots__/PMP11774_AuxiliaryPower.circuit-schematic.snap.svg b/lib/subcircuits/__snapshots__/PMP11774_AuxiliaryPower.circuit-schematic.snap.svg new file mode 100644 index 00000000..895e6e76 --- /dev/null +++ b/lib/subcircuits/__snapshots__/PMP11774_AuxiliaryPower.circuit-schematic.snap.svg @@ -0,0 +1,33 @@ +R210ΩC50.1uFL11mHR410kΩL2 (short)1nHR9 (DNP)10kΩC415uFC3 (DNP)1000pFR1 (DNP)120kΩR7 (DNP)10ΩD2 (DNP)D1C1150uFC210uFR310kΩR5 (DNP)D3R6C6330uFC7100uFC810uFR810kΩ18VGND5VD4R1010ΩC1022uFR116C90.1uFR17R1223.7kΩR11 (DNP)110kΩR14 (DNP)91kΩR1561.9kΩC12 (DNP)10pFUCC28911DRU11GND2GND3GND4IPK5VS6VDD8DRAINR131.38kΩC11 (DNP)10pFVPRIGNDR16Vbulk_VpriVbulkVsecVout_18GNDVsec_5Vout_5GNDVsecGND_VpriVDDVsec_5VsecVS_Vpri_Vpri_Vpri~~_VpriGNDGNDGNDGNDVout_18Vout_5J2100Vac to 254VacLineNeutral+~~D6DF06MT1750315942 Rev01D5BZX84C20LT1GNCD7BZX84C6V8LT1GNCTP1TP2GND.1J15V @ 350mAJ3 \ No newline at end of file