Fast charging is becoming more and more popular, ZHIYUAN Electronics releases USB-PD fast charging test solution

Publisher:zdf1966Latest update time:2017-05-18 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

USB-PD (Power Delivery) is a power supply standard based on USB Type-C, with a maximum power of 100W. Although USB-PD fast charging is becoming more and more popular, there is no test tool for fast charging in the industry. ZLG Zhiyuan Electronics officially released the USB-PD test solution and provides free on-site testing! Let's learn about the relevant content together with the test and measurement chat.

1. Introduction to USB Type-C

Type-C is a form of USB interface that can be inserted regardless of the front or back side. It supports USB standard charging, data transmission, video transmission, audio transmission, display output and other functions. After supporting USB-PD, it can achieve up to 100W power supply. The USB-PD involved in this article communicates through the "configuration channel pin CC" of Type-C (Figure 1).


1.png


2.png

Figure 1 Type-C interface and socket pin function definition

2. USB-PD Introduction

The charging power of the USB standard is relatively small. When both the USB host and the device support USB-PD, the maximum power can reach 20V@5A (Table 1).

Table 1 USB power supply standards

3.png

The USB-PD physical layer uses single-wire communication (Type-C configuration channel CC). In order to enhance anti-interference ability and balance the DC component, when sending protocol data, the physical layer first converts the data using 4b/5b encoding, and then uses biphase mark coding (BMC) to perform secondary conversion on the data stream, and finally outputs the signal to the CC line.

The receiving process is the opposite of the sending process, as shown in Figure 2. The sender or receiver is usually a USB PD controller or microprocessor. When analyzing the USB-PD protocol, only the signals transmitted on the CC line can be analyzed, and the analysis process is actually similar to the receiver's behavior.

4.png

Figure 2 USB-PD communication process

3. Current USB-PD analysis methods

As USB-PD exploded in 2017, there were no relevant testing and analysis tools in the industry. At present, when analyzing USB-PD, engineers need to manually print out the entire communication process waveform, perform brute force analysis, and then perform reverse decoding against the protocol. The process is very painful! The figure below shows the analysis method seen by the ZHIYUAN Electronics promotion team when visiting a company.

5.png

Figure 3 USB-PD printing analysis on-site real shot

Using a conventional oscilloscope, the following method is required for analysis (Figure 4): BMC decoding, 5b4b conversion, and then obtaining the original communication data. Finally, referring to the USB PD specification to parse out the "Good CRC" information frame (the handshake command in USB PD communication). How much hardship and frustration are involved in this process?

6.png

Figure 4 USB-PD manual analysis method

4. USB PD analysis methods currently provided by Zhiyuan Electronics

Connect the oscilloscope probe to the CC line of Type-C;

· Use deep memory to sample all the data of a few seconds during the power-on process;

Then open the USB-PD protocol decoding plug-in, and the analysis can be completed in a few seconds.

5. USB-PD analysis effect demonstration

Figure 5 shows the communication waveform between the USB PD charger and the device after it is powered on. From the event list in Figure 5, it can be intuitively seen that the charger can provide 5V@3A, 9V@3A and 15V@3A power supply capabilities, and the charger can output a maximum power of 45W.

7.png

Figure 5 ZDS4054 Plus USB-PD protocol analysis

6. USB-PD analysis internal process

Figure 6 takes the "Accept" frame as an example to describe the four processes of internal analysis of the oscilloscope.

① Perform BMC decoding on the signal on the CC line (jump to logic "1", do not jump to logic "0") to obtain a bit stream;

② Combine the bit rate into 5B encoding;

③ Convert the 5B code to 4B code to obtain the original protocol data of half a byte (hexadecimal);

④ Parse the raw data according to the USB PD protocol and translate it into easy-to-understand plain text (can be exported as a web report or CSV file).

8.png

Figure 6 USB-PD decoding process analysis

The above is an introduction to the USB-PD fast charging test solution released by ZHIYUAN Electronics in test and measurement - fast charging is becoming more and more popular. If you want to know more related information, please pay more attention to eeworld. eeworld Electronic Engineering will provide you with more complete, detailed and updated information.

Reference address:Fast charging is becoming more and more popular, ZHIYUAN Electronics releases USB-PD fast charging test solution

Previous article:New experience in measuring modulation wave, power ripple and power-on timing
Next article:Fast charging is becoming more and more popular, ZHIYUAN Electronics releases USB-PD fast charging test solution

Recommended ReadingLatest update time:2024-11-16 18:11

Design of LED display system based on USB interface
LED display is a display device composed of several light-emitting diodes. It adopts low-voltage scanning drive, has the advantages of low power consumption, long service life, low cost, high brightness, large viewing angle, long viewing distance, and many specifications and varieties. It is widely used in many publ
[Power Management]
Design of LED display system based on USB interface
M12266 Type-C input 3-6 cell lithium battery same port charge and discharge management mobile power supply bidirectional fast charging IC solution
introduction Type-C charging interface has become the most mainstream charging interface for electronic devices in the future due to its fast charging and high versatility. Its features such as strong compatibility, fast data transmission speed, fast charging speed, reversible plugging and unplugging, etc., give it
[Power Management]
M12266 Type-C input 3-6 cell lithium battery same port charge and discharge management mobile power supply bidirectional fast charging IC solution
USB design based on STM32
First, let's take a look at the working process of USB. When a USB device is connected to the host, the host begins to enumerate the USB device and sends a command to the USB device to obtain the relevant description information of the USB device, including device description (device descriptor), configuration
[Microcontroller]
Key considerations for USB 3.0 power supply circuit design
In the major update specifications of USB 3.0 by USB-IF, the USB 3.0 interface upgrade not only improves the transmission performance that most industry players are concerned about, but also greatly improves the interface high power supply specification to meet the charging and driving needs of related devices, wh
[Analog Electronics]
USB Type-C and PD Controller Design Considerations in Vehicles
With the widespread popularity of portable electronic devices, users are increasingly charging their devices while driving. The USB power supply function makes device charging extremely convenient. The high data rate of USB also enables the new generation of infotainment systems to support a variety of in-vehicle func
[Automotive Electronics]
USB Type-C and PD Controller Design Considerations in Vehicles
STM32F107 USB communication
The development board documentation provides a demonstration program. Of course, the PID, VID and string descriptors can be used in our program without modification. However, if we want to implement our own communication protocol, we must modify the report descriptor, which specifies the meaning of the communication d
[Microcontroller]
USB radar, build your own missile defense system
Everyone has seen radar (at least on TV). It feels great every time I see it. It can detect various obstacles. It would be great if I could have one. But there is someone who not only dares to think, but also dares to put his ideas into practice (which is what we lack), and he really made a very cool USB radar.
[Analog Electronics]
USB radar, build your own missile defense system
USB 3.1 connectors are now available for mobile devices
 The USB 3.1 connector will be unveiled. The Universal Serial Bus Developers Forum (USB-IF) announced that it has begun developing the USB Type C connector based on USB 3.1 and USB 2.0 technologies. In the future, it will be launched with a thinner and lighter appearance than the previous generation of connectors. Thi
[Analog Electronics]
USB 3.1 connectors are now available for mobile devices
Latest Test Measurement Articles
Change More Related Popular Components
Guess you like

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号