张三叔

# Sixth Lichuang Electric Competition #PD induced power meter

 
Overview

introduce

Communication QQ group: 540094134. If you think the project is good, please like and leave a message.

1. Self/team introduction

A poor electronics enthusiast who lacks instruments

2. Briefly introduce the project

  • A simple and thin "adjustable power supply", the key is cheap.
  • Put various protections (overcurrent, overvoltage) in the PD power supply, and the "adjustable power supply" only induces voltage.
  • There will be detailed welding tutorials to ensure that the entire welding is simple and fun.
  • Modular source code with detailed comments.

     1. Describe project details

  • The main purpose of this product is to make a simple and reliable "adjustable power supply".
  • A simple PD induction chip CH224, which can induce voltages of 5V, 9V, 12V, and 20V. And you can apply for samples from Qinheng original factory.
  • A gain 100V/V current sensing chip INA199A2DCKR, this device can sense the voltage drop across the shunt resistor at a common-mode voltage of -0.3V-26V independent of the supply voltage.

2. Describe the challenges faced by the project and the problems solved

  • There are already many professional or DIY "adjustable power supplies" on the market. Professional "adjustable power supplies" are relatively expensive, and personal DIY "adjustable power supplies" are also time-consuming and difficult to produce.
  • The main purpose of this design is to abandon the 220V part and use a professional PD power supply to provide conversion from 220V to 5V, 9V, 12V, and 20V, thereby reducing the BOM cost and DIY difficulty.

3. Describe the key points involved in the hardware and software parts of the project

The Mcu part uses HK32F030MF4P6 or STM32F030F4P6 and uses an internal crystal oscillator driver.mcu.png

Display part, sampling 0.96-inch OLED, 4-wire SPI mode to ensure display refresh rate oled.png PD induction part, as shown in the schematic diagram, the following voltage can be induced. By default, after power-on, the MCU controls the induced 5V output pd.png system. The total power supply part, 5-40V wide voltage input, fixed Output 5V, 5V to 3.3V is provided by the LDO to provide a clean power supply DCDC.png to the PD induced voltage output. When the induced voltage is equal to the set induced voltage, the MCU controls the transistor and outputs the PD induced PDON.png voltage. The current detection part detects the output current of the PD induced voltage. current.png The PD output part outputs the induced PD voltage. It is welded to a connector by default. Of course, alligator clips can also be welded. out.png

4. Project material list display

Comment Description Designator Footprint Quantity
0.1UF Chip capacitors C1, C2, C4, C12,C13, C19 C0603 6
10uF Chip capacitors C3, C14 C0603 2
1uF Chip capacitors C5, C6, C7, C8, C11 C0603 5
4.7uF Chip capacitors C9 C0603 1
2.2uF Chip capacitors C10 C0603 1
100nF Chip capacitors C15 C0603 1
22pF Chip capacitors C16 C0603 1
22uF Chip capacitors C17, C18 C0603 2
22nF Chip capacitors C20 C0603 1
CN1 WJ15EDGRC-3.81-2P 1
10uH inductance L1 SMD,6.6x7.1x3.0mm 1
Header 4 Header, 4-Pin P1 HDR1X4 1
HSBB3105 Q1 PRPAK3*3 1
SS8050 SMD transistor Q2 SOT-23 1
10K Chip capacitors R1, R2 R0603 2
100K Chip resistor R5, R6, R7, R8, R13, R17 R0603 6
1KΩ Chip resistor R9 R0603 1
10KΩ Chip resistor R10 R0603 1
24KΩ Chip resistor R11 R0603 1
10MΩ±1% Chip resistor R12 R0603 1
0.005 Chip resistor R14 2512 1
1MΩ±1% Chip resistor R15 R0603 1
1K Chip resistor R16 R0603 1
100KΩ Chip resistor R18, R19 R0603 2
12.4KΩ Chip resistor R20 R0603 1
1TS003B-2400-3500A SW1, SW2 KEY-SMD_1TS003B 2
HK32F030MF4P6 U1 TSSOP-20 1
CH330N U2 SOP-8_150MIL 1
0.96_oled_30_pin U3 0.96_OLED 1
ch224k U4 ESSOP-10 1
INA199A2DCKR U5 SOT-363 1
SY8291ABC U6 SOT-23-6 1
RT9193-33GB U7 SOT-23-5 1
TYPE-C16PIN USB1, USB2 TYPEC 2

5. Upload project pictures

1.jpg2.jpg3.jpg

5.1 The power meter host computer based on pyqtgraph is currently being improved. The basic functions have been implemented. Just use TYPEC to connect the power meter to the PC. Please see the attachment for details.

该图是测量锂电池500mA充电时候的电流和电压曲线图

Lithium battery charging curve.png

6. Demonstrate your project and record it as a video for uploading

7. Whether it is released to the public for the first time

yes

8. Open source documents

8.1 Attention! ! !

1.所有器件的选型请参考原理图![锂电池充电曲线.png]
2.打样请下载Jlc_Pd_Pcb_V1.0.zip直接进行打样
3."可调电源"和PC连接需要CH340的驱动
4.上位机未进行打包如果要运行建议在Pycharm中直接运行即可,运行的时候在Pycharm中的调试界面输入"可调电源的COM号"即可。
5."可调电源"的按键任务在systick的中断中调用。

9. References

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-15 02:04:31

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号