Live demo — data resets daily at 03:00 UTC. Nothing you enter is saved.
USB-C PD Multi-Output Boost Supply 100 W
USBPD-MULTI-100W · Rev R0
electronicsin_progress
Generated 2026-07-26 13:59 UTC

100 W USB-C PD multi-output boost supply; seven selectable fixed outputs (9/12/15/20/24/48/56 V), discrete-logic control (no MCU). Rebuilt from saved bundle.

Coverage 100%
Done 94%
Requirements 16
Test Cases 26
Records 26

Milestones

Code Title Status Target Achieved TC
MS-001 Design Freeze — all open decisions closed, schematic finalised marker 2026-06-24 0 / 0
MS-002 Gerber Release — PCB layout complete, thermal sim done, NTC placed marker 2026-07-15 0 / 0
MS-DVT DVT Gate not started 2026-08-15 0 / 0
MS-003 First Prototype Bring-up — power-on, PD negotiation, basic output confirmed marker 2026-08-19 0 / 0
MS-004 DVT Exit — all test cases and VAL scenarios passed marker 2026-09-23 0 / 0
MS-005 Production Release — design package signed off, ready for manufacture marker 2026-10-14 0 / 0

Milestone gates

Items (8)

Code Status Severity Kind Title Date
E-007 open warning issue VAL-05: mismatched DIPs (Vin > Vout) pass input through 2026-06-26
E-001 open info decision Behavioural PWM controller used in simulation instead of LM5156 PSpice model 2026-06-24
E-002 open info decision Pure feedforward topology chosen for v8 simulation (no closed-loop control) 2026-06-24
E-003 open info decision Fault shutdown uses 74HC00 SR latch with NPN LED driver 2026-06-24
E-004 open info concept Output protection and fault-shutdown strategy 2026-06-24
E-005 open info concept Voltage selection logic — rotary switch vs DIP switches vs pushbutton cycle 2026-06-24
E-006 open info decision Discrete-logic output selection (no MCU) 2026-06-26
E-008 open info notice 56 V rail derates above 45 C ambient 2026-06-26

Requirements

Code Status Category Title Statement Acceptance
REQ-F-01 approved Functional The unit shall accept a USB-C Power Delivery input of up to 20 V at up to 5 A (100 W total), negotiated via the CH224K PD sink controller. The unit shall accept a USB-C Power Delivery input of up to 20 V at up to 5 A (100 W total), negotiated via the CH224K PD sink controller. Verified by connecting a USB-C PD analyzer source set to 20 V / 5 A. Unit shall successfully negotiate and draw up to 100 W without tripping the source or entering fault state.
REQ-F-02 approved Functional The unit shall provide seven user-selectable fixed output voltages — 9 V, 12 V, 15 V, 20 V, 24 V, 48 V, and 56 V — selected via a 7-position DIP switch that gates individual feedback resistors (Rbot) into the boost converter FB network. The unit shall provide seven user-selectable fixed output voltages — 9 V, 12 V, 15 V, 20 V, 24 V, 48 V, and 56 V — selected via a 7-position DIP switch that gates individual feedback resistors (Rbot) into the boost converter FB network. Each of the 7 DIP positions shall produce the corresponding output voltage within ±5 % of target at 10 %, 50 %, and 100 % rated load. Verified by load sweep at each position.
REQ-F-03 approved Functional The unit shall request the desired USB-C PD input voltage (5 V, 9 V, 12 V, 15 V, or 20 V) from the source using the CH224K CFG1/CFG2/CFG3 pins, set by a 3-position DIP switch. No firmware is required. The unit shall request the desired USB-C PD input voltage (5 V, 9 V, 12 V, 15 V, or 20 V) from the source using the CH224K CFG1/CFG2/CFG3 pins, set by a 3-position DIP switch. No firmware is required. All five CFG combinations shall be tested with a PD analyzer. The PD analyzer shall confirm the unit successfully negotiates the requested PDO in each case.
REQ-F-04 approved Functional On power-up, the unit shall enter standby state with the boost output disabled (output terminals at 0 V) and the blue output LED illuminated. The BTL flip-flop shall power on in the reset state. On power-up, the unit shall enter standby state with the boost output disabled (output terminals at 0 V) and the blue output LED illuminated. The BTL flip-flop shall power on in the reset state. 10 consecutive power-cycles shall be performed. In each cycle the output voltage shall be below 0.1 V and the blue LED shall be lit within 100 ms of power application, before any button press.
REQ-F-05 approved Functional With the override DIP switch off, each press of the run button shall toggle the unit between run (output enabled) and standby (output disabled) states via the BTL D-type flip-flop. The toggle shall be debounced and shall be immune to contact bounce of up to 5 ms. With the override DIP switch off, each press of the run button shall toggle the unit between run (output enabled) and standby (output disabled) states via the BTL D-type flip-flop. The toggle shall be debounced and shall be immune to contact bounce of up to 5 ms. 20 consecutive button presses shall be logged. Each press shall produce exactly one state transition. Output voltage shall track state: present at target voltage in run, ≤0.1 V in standby.
REQ-F-06 approved Functional When the override DIP switch is set to ON, the external 2-pin terminal (dry contact) shall override the button: shorting the terminal shall enable the output (run); opening the terminal shall disable the output (standby). The button shall have no effect in this mode. When the override DIP switch is set to ON, the external 2-pin terminal (dry contact) shall override the button: shorting the terminal shall enable the output (run); opening the terminal shall disable the output (standby). The button shall have no effect in this mode. With OVR=1: (1) short ext terminals — output shall reach target voltage within 500 ms; (2) open ext terminals — output shall drop to ≤0.1 V within 500 ms. Button presses during OVR=1 shall produce no state change.
REQ-F-07 draft Functional When the PCB hot-spot temperature exceeds the OT trip threshold, the OTL flip-flop shall latch, disabling the output and illuminating the OT red LED. The latch shall only be cleared (and the unit may then resume run) by a button press after the temperature has fallen below the hysteresis threshold. The unit shall not automatically restart. When the PCB hot-spot temperature exceeds the OT trip threshold, the OTL flip-flop shall latch, disabling the output and illuminating the OT red LED. The latch shall only be cleared (and the unit may then resume run) by a button press after the temperature has fallen below the hysteresis threshold. The unit shall not automatically restart. Force OT condition (e.g. heat gun on NTC). Confirm: (1) output disables, OT LED lights; (2) unit does not restart automatically; (3) single button press after cool-down clears latch and allows restart. Edge case: first button press after OT in standby will toggle BTL — document in operating manual.
REQ-F-08 approved Functional In standby state, the output disconnect switch (Q2 P-FET + Q3 N-FET level shift) shall physically break the inductor/diode conduction path so that the output terminals present true 0 V even with a passive load connected, not merely the residual boost diode drop. In standby state, the output disconnect switch (Q2 P-FET + Q3 N-FET level shift) shall physically break the inductor/diode conduction path so that the output terminals present true 0 V even with a passive load connected, not merely the residual boost diode drop. With a passive load (≥1 kΩ) connected and unit in standby, output voltage shall be ≤0.1 V measured at the output terminals. Verified by measurement and simulation.
REQ-F-09 approved Functional A bicolour LED shall indicate USB-C PD input status: green when the CH224K has successfully negotiated a PDO (VBUS present and within PG window), red when VBUS is present but negotiation has failed or a fault is detected. A bicolour LED shall indicate USB-C PD input status: green when the CH224K has successfully negotiated a PDO (VBUS present and within PG window), red when VBUS is present but negotiation has failed or a fault is detected. Demo: (1) plug in compliant PD source — LED turns green; (2) unplug source — LED extinguishes; (3) plug in non-PD charger — LED turns red. LM339 VBUS-present comparator output drives LED logic.
REQ-F-10 approved Functional A tricolour LED shall indicate output state: blue when in standby (RUN=0), green when running and output PG is valid (RUN=1, PG=1), red when running but output PG is not valid (RUN=1, PG=0). Logic: BLUE=!RUN · GRN=RUN·PG · RED=RUN·!PG, implemented via 74HC08/74HC04 gates. A tricolour LED shall indicate output state: blue when in standby (RUN=0), green when running and output PG is valid (RUN=1, PG=1), red when running but output PG is not valid (RUN=1, PG=0). Logic: BLUE=!RUN · GRN=RUN·PG · RED=RUN·!PG, implemented via 74HC08/74HC04 gates. Walk all four logical states: (1) standby → blue; (2) run, PG valid → green; (3) run, PG invalid (e.g. mismatched DIP) → red; (4) overtemp latch → output off, OT LED separately lit.
REQ-F-11 approved Functional A dedicated red LED shall be illuminated whenever the OTL latch flip-flop is set (OT event has occurred and has not been cleared). LED shall extinguish when the OTL latch is cleared by button press. A dedicated red LED shall be illuminated whenever the OTL latch flip-flop is set (OT event has occurred and has not been cleared). LED shall extinguish when the OTL latch is cleared by button press. Trigger OT condition. Confirm dedicated OT LED illuminates. Clear latch with button press. Confirm OT LED extinguishes. OT_LED = OTL signal directly via 74HC logic driver.
REQ-N-01 draft Environmental The unit shall operate within specification across an ambient temperature range of 0 °C to 40 °C at full rated output power. The unit shall operate within specification across an ambient temperature range of 0 °C to 40 °C at full rated output power. 40 °C thermal soak at full rated load (100 W) for ≥ 30 minutes. All output voltages shall remain within ±5 % of nominal. No thermal shutdown shall occur unless PCB hot-spot exceeds 75 °C OT threshold.
REQ-N-02 approved Physical The input connector shall be a USB Type-C receptacle. Power Delivery negotiation shall be implemented using the CH224K PD sink controller in hardware-only mode (CFG pins, no firmware). PD 3.0 protocol shall be supported. The input connector shall be a USB Type-C receptacle. Power Delivery negotiation shall be implemented using the CH224K PD sink controller in hardware-only mode (CFG pins, no firmware). PD 3.0 protocol shall be supported. Inspect schematic and PCB layout to confirm USB-C receptacle and CH224K placement/routing. Confirm CFG1/2/3 pins are correctly wired to the 3-position DIP switch.
REQ-N-03 draft Physical The output voltage shall be accessible via a user-facing connector. The connector type (screw terminal vs. banana jack) has not yet been decided and depends on the enclosure and front-panel design (see RT-205 and REQ-N-03 OPEN status). Decision drives PCB footprint selection. The output voltage shall be accessible via a user-facing connector. The connector type (screw terminal vs. banana jack) has not yet been decided and depends on the enclosure and front-panel design (see RT-205 and REQ-N-03 OPEN status). Decision drives PCB footprint selection. Inspect mechanical design and PCB footprint once output connector decision (RT-205) is closed. Verify chosen connector is rated for the maximum output voltage (56 V) and current at the output power level.
REQ-N-04 approved Physical The unit shall provide a 2-pin external control input (dry contact / unpowered switch) that, when the override DIP is enabled, replaces the button for run/standby control. The input shall be immune to external signals up to 1 m of unshielded wire without false triggering. The unit shall provide a 2-pin external control input (dry contact / unpowered switch) that, when the override DIP is enabled, replaces the button for run/standby control. The input shall be immune to external signals up to 1 m of unshielded wire without false triggering. Connect 1 m unshielded two-wire cable to external control terminals. With OVR=1: short cable — unit enters run; open cable — unit enters standby. No false triggering during 5 open/close cycles.
REQ-P-01 approved Performance The output voltage at any of the seven selectable levels shall remain within ±5 % of the nominal target voltage across the full load range of 10 % to 100 % of rated output power. Verified by load sweep on physical hardware; simulation at 56 V shows ±open-loop offset (closed-loop sim pending LM5156 PSpice model). The output voltage at any of the seven selectable levels shall remain within ±5 % of the nominal target voltage across the full load range of 10 % to 100 % of rated output power. Verified by load sweep on physical hardware; simulation at 56 V shows ±open-loop offset (closed-loop sim pending LM5156 PSpice model). Load sweep from 10 % to 100 % of rated load in steps of 10 % at each of the 7 output voltages. Output voltage shall remain within ±5 % of nominal at every load step. Note: open-loop simulation shows ~5 V offset at 56 V — hardware verification required.
REQ-P-02 approved Performance The power conversion efficiency (Pout / Pin) shall be ≥ 90 % at rated output power (100 W). LTspice simulation v7 measured 95.2 % at 20 V in / 56 V out / 32 Ω load. The power conversion efficiency (Pout / Pin) shall be ≥ 90 % at rated output power (100 W). LTspice simulation v7 measured 95.2 % at 20 V in / 56 V out / 32 Ω load. Measure Pin (Vin × Iin) and Pout (Vout × Iout) at rated load for each output voltage. Efficiency shall be ≥ 90 % at each point. Plot efficiency map across load range.
REQ-P-03 draft Performance The overtemperature protection shall trip at 75 °C ±5 °C measured at the PCB hot-spot NTC. The recovery threshold shall be at least 10 °C below the trip threshold (i.e. ≤ 65 °C). Implemented via NTC + reference divider feeding the LM339 comparator. NTC placement pending PCB layout (RT-207). The overtemperature protection shall trip at 75 °C ±5 °C measured at the PCB hot-spot NTC. The recovery threshold shall be at least 10 °C below the trip threshold (i.e. ≤ 65 °C). Implemented via NTC + reference divider feeding the LM339 comparator. NTC placement pending PCB layout (RT-207). Slow-ramp NTC temperature using a controlled heat source. Record: (1) trip temperature (output disables); (2) recovery temperature (latch can be cleared). Trip shall be 70–80 °C; recovery shall be ≤ trip − 10 °C.
REQ-P-04 approved Performance The boost stage shall implement cycle-by-cycle current limiting with a peak current limit of 10 A (set by LM5156 internal threshold). On a persistent output fault (e.g. short circuit), the controller shall enter hiccup mode — repeatedly attempting restart — rather than sustaining a high fault current. Verified behaviourally in LTspice v7 simulation. The boost stage shall implement cycle-by-cycle current limiting with a peak current limit of 10 A (set by LM5156 internal threshold). On a persistent output fault (e.g. short circuit), the controller shall enter hiccup mode — repeatedly attempting restart — rather than sustaining a high fault current. Verified behaviourally in LTspice v7 simulation. Short the output terminals with unit running. No component damage shall occur. Confirm inductor peak current does not exceed 10 A (LM5156 OC limit). Confirm hiccup/retry behaviour on sustained short. Remove short — unit shall recover without reset.
REQ-P-05 approved Performance The output power-good (PG) signal shall assert only when the FB node voltage is within ±5 % of the LM5156 reference (nominally 1.25 V), i.e. between 1.1875 V and 1.3125 V. Implemented via fixed-threshold window comparator in LM339 (no output voltage mux needed). The output power-good (PG) signal shall assert only when the FB node voltage is within ±5 % of the LM5156 reference (nominally 1.25 V), i.e. between 1.1875 V and 1.3125 V. Implemented via fixed-threshold window comparator in LM339 (no output voltage mux needed). Inject FB voltage via bench supply or resistor network. Confirm PG asserts for FB in range 1.1875–1.3125 V and de-asserts outside this window. Analytical verification of resistor divider also acceptable.

Test Cases

Code Status Category Title / Signal Target Pass Criterion Linked REQ
TC-F-01 pass Functional PD input negotiation at 20 V / 5 A REQ-F-01
TC-F-02 pass Functional Output voltage accuracy — all 7 DIP positions × load sweep REQ-F-02
TC-F-03 pass Functional PD CFG pin — all 5 input voltage combinations REQ-F-03
TC-F-04 pass Functional Power-on standby — 10 consecutive power cycles REQ-F-04
TC-F-05 pass Functional Button run/standby toggle — 20 consecutive presses REQ-F-05
TC-F-06 pass Functional External terminal override (OVR=1): short and open REQ-F-06
TC-F-07 pass Functional Overtemperature latch — trip, hold, and manual clear REQ-F-07
TC-F-08 pass Functional Standby output voltage with passive load REQ-F-08
TC-F-09 pass Functional Input PG LED — plug/unplug PD source demonstration REQ-F-09
TC-F-10 pass Functional Output tricolour LED — walk all 4 display states REQ-F-10
TC-F-11 pass Functional OT LED — illuminate on latch set, extinguish on clear REQ-F-11
TC-N-01 pass Performance Thermal soak — full load at 40 °C ambient for 30 min REQ-N-01
TC-N-02 pass Functional USB-C PD receptacle and CH224K schematic/PCB inspection REQ-N-02
TC-N-03 pass Functional Output connector mechanical inspection (pending RT-205 decision) REQ-N-03
TC-N-04 pass Functional External control — 1 m unshielded cable, 5 open/close cycles REQ-N-04
TC-P-01 pass Performance Load regulation sweep — all 7 outputs, 10–100 % load REQ-P-01
TC-P-02 pass Performance Efficiency map — ≥ 90 % at rated power per output REQ-P-02
TC-P-03 pass Performance OT trip and recovery — controlled NTC temperature ramp REQ-P-03
TC-P-04 pass Performance Output short-circuit — no component damage, hiccup recovery REQ-P-04
TC-P-05 pass Performance PG window — FB voltage injection test REQ-P-05
VAL-01 pass Functional System validation: PD source connected, DIPs set, output within ±5 % REQ-F-01
VAL-02 pass Functional System validation: overtemp during operation — latch off, LED on, restart works REQ-F-07
VAL-03 pass Functional System validation: override DIP ON + short ext terminals → output runs REQ-F-06
VAL-04 pass Functional System validation: override DIP ON + open ext terminals → standby REQ-F-06
VAL-05 pass Functional System validation: mismatched DIPs (Vin > Vout) → output ≈ Vin, LED red REQ-F-10
VAL-06 deviated Functional System validation: PD cable unplugged mid-operation → clean collapse REQ-F-01

Coverage Matrix

REQ Title Category Coverage Linked Test Cases
REQ-F-01 The unit shall accept a USB-C Power Delivery input of up to 20 V at up to 5 A (100 W total), negotiated via the CH224K PD sink controller. Functional approved TC-F-01, VAL-01, VAL-06
REQ-F-02 The unit shall provide seven user-selectable fixed output voltages — 9 V, 12 V, 15 V, 20 V, 24 V, 48 V, and 56 V — selected via a 7-position DIP switch that gates individual feedback resistors (Rbot) into the boost converter FB network. Functional approved TC-F-02
REQ-F-03 The unit shall request the desired USB-C PD input voltage (5 V, 9 V, 12 V, 15 V, or 20 V) from the source using the CH224K CFG1/CFG2/CFG3 pins, set by a 3-position DIP switch. No firmware is required. Functional approved TC-F-03
REQ-F-04 On power-up, the unit shall enter standby state with the boost output disabled (output terminals at 0 V) and the blue output LED illuminated. The BTL flip-flop shall power on in the reset state. Functional approved TC-F-04
REQ-F-05 With the override DIP switch off, each press of the run button shall toggle the unit between run (output enabled) and standby (output disabled) states via the BTL D-type flip-flop. The toggle shall be debounced and shall be immune to contact bounce of up to 5 ms. Functional approved TC-F-05
REQ-F-06 When the override DIP switch is set to ON, the external 2-pin terminal (dry contact) shall override the button: shorting the terminal shall enable the output (run); opening the terminal shall disable the output (standby). The button shall have no effect in this mode. Functional approved TC-F-06, VAL-03, VAL-04
REQ-F-08 In standby state, the output disconnect switch (Q2 P-FET + Q3 N-FET level shift) shall physically break the inductor/diode conduction path so that the output terminals present true 0 V even with a passive load connected, not merely the residual boost diode drop. Functional approved TC-F-08
REQ-F-09 A bicolour LED shall indicate USB-C PD input status: green when the CH224K has successfully negotiated a PDO (VBUS present and within PG window), red when VBUS is present but negotiation has failed or a fault is detected. Functional approved TC-F-09
REQ-F-10 A tricolour LED shall indicate output state: blue when in standby (RUN=0), green when running and output PG is valid (RUN=1, PG=1), red when running but output PG is not valid (RUN=1, PG=0). Logic: BLUE=!RUN · GRN=RUN·PG · RED=RUN·!PG, implemented via 74HC08/74HC04 gates. Functional approved TC-F-10, VAL-05
REQ-F-11 A dedicated red LED shall be illuminated whenever the OTL latch flip-flop is set (OT event has occurred and has not been cleared). LED shall extinguish when the OTL latch is cleared by button press. Functional approved TC-F-11
REQ-N-02 The input connector shall be a USB Type-C receptacle. Power Delivery negotiation shall be implemented using the CH224K PD sink controller in hardware-only mode (CFG pins, no firmware). PD 3.0 protocol shall be supported. Physical approved TC-N-02
REQ-N-04 The unit shall provide a 2-pin external control input (dry contact / unpowered switch) that, when the override DIP is enabled, replaces the button for run/standby control. The input shall be immune to external signals up to 1 m of unshielded wire without false triggering. Physical approved TC-N-04
REQ-P-01 The output voltage at any of the seven selectable levels shall remain within ±5 % of the nominal target voltage across the full load range of 10 % to 100 % of rated output power. Verified by load sweep on physical hardware; simulation at 56 V shows ±open-loop offset (closed-loop sim pending LM5156 PSpice model). Performance approved TC-P-01
REQ-P-02 The power conversion efficiency (Pout / Pin) shall be ≥ 90 % at rated output power (100 W). LTspice simulation v7 measured 95.2 % at 20 V in / 56 V out / 32 Ω load. Performance approved TC-P-02
REQ-P-04 The boost stage shall implement cycle-by-cycle current limiting with a peak current limit of 10 A (set by LM5156 internal threshold). On a persistent output fault (e.g. short circuit), the controller shall enter hiccup mode — repeatedly attempting restart — rather than sustaining a high fault current. Verified behaviourally in LTspice v7 simulation. Performance approved TC-P-04
REQ-P-05 The output power-good (PG) signal shall assert only when the FB node voltage is within ±5 % of the LM5156 reference (nominally 1.25 V), i.e. between 1.1875 V and 1.3125 V. Implemented via fixed-threshold window comparator in LM339 (no output voltage mux needed). Performance approved TC-P-05

Trace Link Graph

Done   Partial   Not started   No test case

Verification Records

Test Case Result Measured Notes Date
TC-F-01 pass 2026-06-26
TC-F-02 pass 2026-06-26
TC-F-03 pass 2026-06-26
TC-F-04 pass 2026-06-26
TC-F-05 pass 2026-06-26
TC-F-06 pass 2026-06-26
TC-F-07 pass 2026-06-26
TC-F-08 pass 2026-06-26
TC-F-09 pass 2026-06-26
TC-F-10 pass 2026-06-26
TC-F-11 pass 2026-06-26
TC-N-01 pass 2026-06-26
TC-N-02 pass 2026-06-26
TC-N-03 pass 2026-06-26
TC-N-04 pass 2026-06-26
TC-P-01 pass 2026-06-26
TC-P-02 pass 2026-06-26
TC-P-03 pass 2026-06-26
TC-P-04 pass 2026-06-26
TC-P-05 pass 2026-06-26
VAL-01 pass 2026-06-26
VAL-02 pass 2026-06-26
VAL-03 pass 2026-06-26
VAL-04 pass 2026-06-26
VAL-05 pass 2026-06-26
VAL-06 fail 2026-06-26

Accepted Deviations

Test Case Justification Approved By Approved Expiry
VAL-06 Output accuracy at 56 V / full load measured 1.6% vs 1.5% spec — within design margin; accepted for R0 with corrective action tracked under VAL-05. demo 2026-06-26

Concepts

Active exploration (2) — ideas still being shaped.

E-004 Output protection and fault-shutdown strategyopen

Hypothesis

Since there is no MCU, overcurrent and overvoltage protection must be implemented with discrete logic. The LM5156 has a built-in cycle-by-cycle current limit, but we need a latching shutdown for hard faults and a way to signal the fault state to the user (LED or similar).

Alternatives considered

Option A — LM5156 UVLO pin as fault latch Pull the UVLO pin low via an LM339 comparator when Vout exceeds a threshold. The LM5156 shuts down and stays off until power is cycled.

  • Pros: no extra ICs, uses existing comparator bank (LM339 has 4 channels)
  • Cons: UVLO threshold interacts with startup — needs careful resistor divider design; hard to distinguish OVP from normal UVLO

Option B — SR latch from 74HC logic Use one 74HC00 NAND gate pair as an SR latch. Comparator trips SET, power cycle clears RESET.

  • Pros: clean separation of fault latch from UVLO; easy to add an LED driver from the latch Q output
  • Cons: one more IC; requires a weak pull-down on the RESET line to clear on power-up

Option C — Self-resetting PTC + no latch PTC fuse in series with output; temperature-based reset. No latching.

  • Pros: dead simple, zero ICs
  • Cons: does not protect against OVP, only OCP; reset time unpredictable; not suitable for lab supply (user expects immediate restart after fault removal)

Block diagram (Option B preferred)

graph LR
    Vout --> OVP["LM339 OVP comparator"]
    Isense --> OCP["LM339 OCP comparator"]
    OVP -- SET --> LATCH["74HC00 SR latch"]
    OCP -- SET --> LATCH
    PWRON -- RESET --> LATCH
    LATCH -- Q --> EN["LM5156 EN pin"]
    LATCH -- Q --> LED["Fault LED"]

Open questions

  • Does the LM5156 EN pin source enough current to drive a LED directly, or do we need a buffer transistor?
  • What is the correct OVP threshold — Vout_set + 10% or Vout_set + 5%? Needs tolerance stack-up analysis.
  • For the highest output (56 V), what comparator reference voltage is practical with a single 5 V rail?

Next step

daniel@esharp.se to check LM5156 EN pin sink current spec in datasheet and do a tolerance stack-up for the 56 V OVP threshold.

E-005 Voltage selection logic — rotary switch vs DIP switches vs pushbutton cycleopen

Hypothesis

The user needs to select one of 7 output voltages (9/12/15/20/24/48/56 V). Since there is no MCU, the selection mechanism must be purely hardware. A multi-position switch drives the 74HC logic that sets the feedback divider ratio.

Alternatives considered

Option A — 8-position rotary switch (preferred) One knob, one pole, 8 positions (7 voltages + off). Direct mechanical encoding.

  • Pros: intuitive, single-action selection, no debounce needed for DC logic; 8-position rotary switches are standard (Bourns PRS series, Elma 04 series); maps exactly onto a 74HC138 3-to-8 decoder (8 outputs) with no wasted or undefined states
  • Cons: footprint larger than pushbutton

Option B — 4-bit DIP switch bank 4 DIP switches encode 0–15 in binary; only the used states are decoded. 74HC138 decoder maps to the output enables.

  • Pros: very common, cheap, no moving parts to wear
  • Cons: not intuitive (user must look up binary encoding); can set undefined states; not suited for frequent voltage changes

Option C — Pushbutton cycle (momentary) Single pushbutton steps through voltages in sequence. 74HC163 4-bit counter + reset.

  • Pros: minimal panel cutout, elegant
  • Cons: requires counter IC, power-cycle resets to first voltage, no direct access to a specific voltage

Position budget note

The earlier concept assumed a 10-position switch for 9 voltages (5/9/12/15/20/24/48/56/60 V) + off. Reducing to an 8-position switch (7 voltages + off) requires dropping two rails. The two natural candidates are 5 V (the boost topology cannot step the USB-C PD input down to 5 V — see open questions) and 60 V (requires LM5156 and output-capacitor voltage ratings plus OVP headroom of ~65 V that is hard to guarantee on a single-stage boost). The remaining 7 rails (9/12/15/20/24/48/56 V) match the project's stated user-selectable set and map exactly onto the 74HC138 3-to-8 decoder.

System block diagram (7 rails + off via 74HC138)

graph LR
    SW["8-pos<br/>rotary switch"] --> DEC["74HC138<br/>decoder"]
    DEC --> R1["R-divider<br/>9 V"]
    DEC --> R2["R-divider<br/>12 V"]
    DEC --> R3["R-divider<br/>15 V"]
    DEC --> R4["R-divider<br/>20 V"]
    DEC --> R5["R-divider<br/>24 V"]
    DEC --> R6["R-divider<br/>48 V"]
    DEC --> R7["R-divider<br/>56 V"]
    R1 & R2 & R3 & R4 & R5 & R6 & R7 --> FB["LM5156<br/>FB pin"]

Open questions

  • What is the panel cutout standard for an 8-position rotary? Does it fit the planned enclosure depth?
  • Should position 0 (off) cut EN or just set Vout to minimum? Cutting EN is cleaner.
  • Do we need a pull-up on the rotary switch outputs to avoid floating inputs during mechanical transition?
  • Confirm that dropping the 5 V and 60 V rails to fit the 8-position selector is acceptable, or whether a different pair should be removed instead.

Next step

daniel@esharp.se to confirm enclosure panel depth, 8-position rotary switch body length, and sign off on dropping the 5 V and 60 V rails to fit the 8-position selector.

Issues

E-007 VAL-05: mismatched DIPs (Vin > Vout) pass input through warning open

When DIPs request a voltage below the negotiated PD input, the boost stage passes input through. Needs a guard or a documented limitation.

Decisions

E-001 Behavioural PWM controller used in simulation instead of LM5156 PSpice model info

All 8 LTspice simulation iterations (v1–v8) used a behavioural PWM controller rather than the TI LM5156 PSpice model. This was a deliberate choice for simulation transparency — the behavioural model exposes internal signals (duty cycle, current sense, SR latch) that would be obscured by a vendor model. Consequence: Closed-loop stability (Bode plot, phase margin) has not been verified. The v8 result is a topology demonstrator only, not a production-representative simulation. RT-201 tracks replacement of the behavioural block with the LM5156 PSpice model as a high-priority open item.

E-002 Pure feedforward topology chosen for v8 simulation (no closed-loop control) info

After 7 iterations resolving instability, LC-ring at startup, regulation droop, wind-up, and solver convergence issues, v8 settled on pure feedforward with η = 0.95 tuned to match v7 measured efficiency. No closed-loop integrator or error amplifier is present in the current simulation. Consequence: v8 is a topology demonstrator only. Real hardware will use the LM5156 in current-mode control (as specified in ARC-02). The v7 5 V offset at 56 V output is an artefact of η mismatch, not a fundamental limitation of the design.

E-003 Fault shutdown uses 74HC00 SR latch with NPN LED driver info

Decision A 74HC00 NAND-gate SR latch latches the fault state on OVP or OCP trip. An NPN transistor (e.g. BC817) drives the fault LED from the latch Q output. Power cycle clears the latch via a weak pull-down on the RESET line. OVP threshold: Vout_nom + 8% (after tolerance stack-up across all 7 output voltages). ## Rationale The LM5156 EN pin sinks only 1 mA max (datasheet p.14) — insufficient to drive a LED and unreliable as a latch node. A dedicated SR latch from the 74HC00 (already in BOM for voltage selection logic) gives a clean, testable fault path with no interaction with the UVLO startup threshold. ## Rejected alternatives - UVLO pin as fault latch (Option A): Rejected. UVLO threshold shares the same resistor network as the startup voltage, creating a coupling that is hard to characterise across all 7 Vout settings. Also provides no user-visible fault indication without additional circuitry. - PTC self-resetting fuse (Option C): Rejected. Provides OCP protection only, no OVP. Auto-reset behaviour is unsuitable for a bench supply — user expects the fault to latch until they acknowledge it. ## References - Exploration: E-014 - LM5156 datasheet, Table 7.5 (EN pin electrical characteristics)

E-006 Discrete-logic output selection (no MCU) info

Seven fixed outputs selected via DIP + discrete logic — avoids firmware certification and simplifies the BOM.

Notices

E-008 56 V rail derates above 45 C ambient info open

Top rail is thermally limited at high ambient — document in the datasheet.

Design Rule Status

No violations   Warning   Error   Waived

Gauge R&R Studies

Measurement Status N × R %GRR/TV %GRR/Spec Verdict
VOUT_ACCURACY_56V planned 3 × 3