2024 - 2026 USB-C PD Dongle Design Document
@Ishan Deshpande
Thanks to @Champers Fu , @Lakshay Gupta , @Dylan Kretschman , @Devin Kretschman for review & assistance with KiCAD and manufacturing!
- 1 Design Notes
- 1.1 Objective:
- 1.2 Block Diagram & Requirements:
- 1.3 Preliminary Research Notes:
- 1.4 USBPD Controller Chip Evaluations:
- 1.5 Buck Converter Research:
- 1.5.1 Input Voltage Range
- 1.5.2 Buck Converter Pipeline
- 1.6 Power Path & Flowchart:
- 1.7 PMOS Power Switch Configuration:
- 1.8 TPS56A37RPAR Buck Converter Notes (15-20V → 12V)
- 1.9 TPS562231DRLR Buck Converter Calculations (12V → 5V):
- 1.10 TPS2116DRL Power Mux
- 1.11 5V → Isolated 5V converter:
- 2 Development
- 3 Archive:
- 3.1 Current Monitoring
- 3.1.1 Initial Research
- 3.1.2 Shunt and Amplifier Selection
- 3.1.3 5V Current Sense Selection
- 3.1.4 12V Current Sense Selection
- 3.1.5 A Few More Options
- 3.2 Microcontroller
- 3.3 TPS62933PDRLR Buck Converter Calculations (12V → 5V):
- 3.4 ORring Diodes:
- 3.5 TPS55289 Buck-Boost Converter Notes (9-20V → 12V)
- 3.6 Power Protections:
- 3.1 Current Monitoring
Warning: this document is purely my notes from my own research. Don’t take everything in it for granted especially since I’m a beginner to this sort of stuff, and double check everything, especially if using it for design purposes. I am not purporting to be good at this or to get everything right or to know everything, since this is my first board for Solar.
If you have any corrections for this document, please feel free to comment with a correction. Try to keep the original material for a bit so that it is clear a correction is made/so that we preserve some history in case the correction is incorrect. - Ishan
Design Notes
Objective:
The purpose of this board is to be able to use a USB Type-C laptop charger to run one LV system (such as BPS or Controls). The dongle will act as a breakout; negotiating the power delivery at a fixed voltage with the laptop charger and delivering as much current as needed at a stable voltage of 12V/5V.
The dongle will (hopefully) also be able to supply the maximum amount of current necessary for any of our systems. @Lakshay Gupta wants to be able to handle the current spike that BPS has when the HV+, HV-, and HVARR contactors flip, so the design should potentially accommodate for that.
Block Diagram & Requirements:
Preliminary Research Notes:
USBPD Controller Chip Evaluations:
Buck Converter Research:
Power Path & Flowchart:
PMOS Power Switch Configuration:
TPS56A37RPAR Buck Converter Notes (15-20V → 12V)
TPS562231DRLR Buck Converter Calculations (12V → 5V):
TPS2116DRL Power Mux
5V → Isolated 5V converter:
Development
GITHUB LINK
Misc. Tips and Design Notes:
Originally I was using the downloaded symbols for the MOSFETs when creating the schematic, but then I realized KiCad has a large base of existing symbols for common device configurations. For example, Device:Q_Dual_NMOS_S1G1S2G2D2D2D1D1 models an NMOS FET similar to the 12V Output N-Channel MOSFET.
Additionally, the MOSFET symbols you might download for one of these things will just look like a rectangle:
vs the KiCAD dual mosfet symbol (far clearer in what it actually is):
So using the symbols from the Device library for a MOSFET, and then linking it later to the downloaded footprint for the desired FET, will make the schematic clearer.
This website is pretty good for resistor values: https://jansson.us/resistors.html
Choose E24 for most commonly available values
Originally I calculated inductors for max input of 20V, but in order to overspec it (as a safety measure) I’m going to redo the calculations for 25V and pick new inductors & ensure that the buck converters will still work as intended
According to this presentation, the voltage tolerance on USB PD is +-5%. The undervoltage lockout points have been set at exactly these values so that we can ensure proper operation.
Use wolfram alpha for conversions and calculations, it works pretty well.
Murata (and many other manufacturers) caps may not provide the DC bias curves for a capacitor on the datasheet directly, but have external design tools linked on the Mouser or Digikey page that will have the specific curve for the selected cap.
Digikey will often have more resources than Mouser, so make sure to check there.
See this reddit comment:
That's just an example graph to show that ferroelectric dielectrics are shit. You need to look at the curves for the specific part number capacitor, which is not always available.