The main chip
CH224K, about 2 pieces of 3 pieces,
the manual says: ↓
CH224 single chip integrates USB PD and other fast charging protocols, supports PD3.0/2.0, BC1.2 and other boost fast charging protocols, automatically detects VCONN and analog E -Mark chip, supports up to 100W power, built-in PD communication module, high integration and streamlined peripherals. Integrated output voltage detection function, and provides over-temperature, over-voltage protection and other functions. It can be widely used in various types of electronic equipment to expand high-power input, such as wireless chargers, electric toothbrushes, rechargeable shavers, lithium battery power tools and other applications.
Anyway, it is very easy to use.
If you use my solution, change the silk screen to SET resistor configuration output voltage.
SET
output voltage is
6.8k
9V
24k
12V
56k
15V
NC
20V.
You can also use MCU control to control the voltage of 3 CFG pins. The level control inputs different voltages (see the manual for details, see the attachment).
The LDO
uses an MST5633BTE.
The input voltage can reach up to 80V, the output current can reach 150mA, and the price is about 4 cents. It is used to power CH224K. Pay attention to the withstand voltage of the input capacitor. I originally designed a 0603 capacitor, but I couldn't find one with such a high voltage, so. . . I forced soldered a 1206 on the pad of 0603. . . I changed everything I uploaded, and there is no problem.
In fact, because the store was out of stock, I used MST5333BTE. The maximum input voltage is 35V. Since the maximum voltage of PD is 20V, it is enough and can be PIN-to-PIN compatible. The maximum output current is 200mA. The price is about the same
but. . . In fact, you can refer to the circuit in the manual to connect resistors and decoupling capacitors, and directly use the input voltage to supply power. Saving a huge sum of 50 cents, I lost a lot of money!
Use decoupling capacitors and resistors to divide the power supply


as shown in the figure. There is something on the power supply pin VDD that can adjust the current. It will generate a current, which will cause a certain voltage drop on the 1k resistor. Ensure that the VDD pin is always 3.3V.
Adding a decoupling capacitor can ensure the stability of the VDD voltage. In addition, this capacitor can be selected with a lower voltage resistance. Yes, after all, it is only 3.3V. The solution I used above using LDO requires that the input capacitor voltage of the LDO is greater than 20V (if you need a 20V range).
Therefore, I think it is simpler and cheaper to use this solution (don’t be taken advantage of like me)