📜 ⬆️ ⬇️

Interface revolution. USB 3.1 Type-C in detail. Electronic technician

image

It rarely happens that one extra letter in the title of the standard threatens to revolutionize the world of data transfer interfaces and gadgets, but the appearance of the latest version of USB 3.1 Type-C seems to be the case. What promises us to bring the next update of the good old USB interface?

Under the cut, I will try to sort the topic by bone - from the design of the connector and cable, to the overview of the hardware profiles and new chips to support the capabilities of this interface. I thought for a long time at which site to post an article, because all previous issues related to this topic were published on GT, but in my publication there are so many technical details that it will be more useful not for geeks but for potential developers who already today should start looking at it. Therefore, I ventured to settle the article here.

I will not touch upon the history of the development of the USB interface, this topic is not well developed in this comic in the sense of history in pictures

Electronics - the science of contacts


For a start, a comparative photo of today's hero in the company of deserved ancestors.


')
The USB Type-C connector is slightly larger than the usual USB 2.0 Micro-B, but noticeably smaller than the dual USB 3.0 Micro-B, not to mention the classic USB Type-A.
Connector dimensions (8.34 Ă— 2.56 mm) allow using it for devices of any class, including smartphones and tablets, without any particular difficulties.


Signal and power outputs are placed on a plastic insert. Perhaps this is its weakest place in the central part of the connector. The USB Type-C contact group contains 24 pins. Let me remind you that USB 1.0 / 2.0 had only 4 pins, and USB 3.0 connectors took 9 pins already.


image

If you carefully look at the picture on the left, you can see that the contacts have different lengths. This ensures their closure in a certain sequence. In the figure in the center we see the presence of clips, which should hold the cable stuck and provide a tactile click in the process of connection-disconnection. The right graph shows the dependence of the force in the process of inserting and removing the connector.

The peaks that we see on it are the moments of triggering the latch.

It can be stated that the developers of the standard did, if not everything, almost everything, so that the connector became as convenient and reliable as possible: it is inserted at any end and at any side with a noticeable click. According to them, he is able to survive this procedure more than 10 thousand times.

Many-sided symmetrical Janus


A very pleasant and useful feature of USB-C is the symmetrical design of the connector, which allows it to be connected to the port by either side. This is achieved through the symmetrical arrangement of its findings.



On the edges are the findings of the earth. The positive power contacts are also arranged symmetrically. In the center there are contacts responsible for compatibility with the USB2 interface and less. They were lucky most of all - they are duplicated and therefore a 180-degree turn when connecting is not terrible. Blue marked pins responsible for high-speed data exchange. As we see it all smarter. If we turn the connector, for example, the output of the TX1 will swap places with the TX2, but at the same time the place of entry of the RX1 will be taken by the RX2.

Conclusions Secondary Bus and USB Power Delivery Communication service and are designed to communicate with each other two connected devices. After all, they need to tell a lot about each other before starting an exchange, but more on that later.

For now about one feature. The USB Type-C port was originally developed as a universal solution. In addition to direct data transfer via USB, it can also be used in alternate mode (Alternate Mode) for implementing third-party interfaces. This flexibility of USB Type-C was used by the VESA association by introducing the ability to transmit a video stream via DisplayPort Alt Mode.

image


USB Type-C has four high speed Super Speed ​​USB lines (pairs). If two of them are allocated to the needs of DisplayPort, this is enough to get a picture with a resolution of 3840 × 2160. It does not suffer from data transfer speed via USB. At the peak, it's all the same 10 Gb / s (for USB 3.1 Gen2). Also, the transmission of the video stream does not affect the energy capabilities of the port. Even 4 speed lines can be allocated to the needs of DisplayPort. In this case, resolutions up to 5120 × 2880 will be available. In this mode, USB 2.0 lines remain unused, because USB Type-C can still transfer data in parallel, although at a limited speed.

In the alternate mode, the SBU1 / SBU2 contacts are used to transmit the audio stream, which are converted to AUX + / AUX- channels. For the USB protocol, they are not involved, because there are also no additional functional losses.

When using the DisplayPort interface, the USB Type-C connector can still be connected to either side. The necessary signal matching is provided initially.

image


Connecting devices using HDMI, DVI and even D-Sub (VGA) is also possible, but this will require separate adapters, but these must be active adapters, since for DisplayPort Alt Mode, the Dual-Mode Display Port (DP ++) is not supported .

The alternative USB Type-C mode can be used not only for the DisplayPort protocol. Perhaps soon we will learn that this port has learned, for example, to transmit data using PCI Express or Ethernet.

And to this she gave, and to that she gave. In general ... about nutrition.

Another important feature that USB Type-C brings is the ability to transfer energy up to 100 watts through it. This is enough not only for powering / charging mobile devices, but also for working laptops, monitors, and if you dream up, then a small laboratory power source.

When the USB bus appeared, the transfer of energy was an important, but still secondary, function. The USB 1.0 port provided only 0.75 W (0.15 A, 5 V). Enough for the mouse and keyboard, but no more. For USB 2.0, the nominal current was increased to 0.5 A, which allowed it to receive 2.5 watts from it for powering, for example, 2.5 ”external hard drives. For USB 3.0 nominally provides a current of 0.9 A, which at a constant supply voltage of 5V guarantees a power of 4.5 watts. Special reinforced connectors on motherboards or laptops were capable of delivering up to 1.5 A to accelerate the charging of connected mobile devices, but this is “only” 7.5 watts. Against the background of these figures, the possibility of transmitting 100 watts looks like something fantastic.

In order to fill the USB Type-C port with such energy, there is support for the USB Power Delivery 2.0 (USB PD) specification. If there is none, the USB Type-C port can regularly output 7.5 W (1.5 A, 5 V) or 15 W (3A, 5 V) to the mountain, depending on the configuration. There is not enough space for a detailed description of this specification in this article, and anyway I will not do it better than the respected stpark in my wonderful article .

However, to completely circumvent this archival topic will not work.

In order to provide power of 100 watts at a voltage of five volts, a current of 20 amps is required! This is possible with the dimensions of a USB Type-C cable only if it is made of a superconductor! I am afraid that today it will cost users a bit expensive, so the developers of the standard have taken a different path. They increased the supply voltage to 20 volts. “Excuse me, but it will burn my favorite tablet completely” - exclaim you, and you will be absolutely right. In order not to fall victim to angry users, engineers conceived a cunning trick - they introduced a system of power profiles. Before connecting, any device is in standard mode. The voltage in it is limited to five volts, and the current is two amperes. To connect with the old type of devices, this mode will end everything, but for more advanced cases, after data exchange, the devices switch to another coordinated mode of operation with advanced features. To get acquainted with the main existing modes we will look at the table.



Profile 1 guarantees the possibility of transmitting 10 watts of energy, the second is already 18 watts, the third is 36 watts, the fourth is 60 watts, and the fifth is our cherished hundred! The port corresponding to the profile of a higher level, supports all the states of the previous descending. 5V, 12V and 20V were chosen as reference voltages. The use of 5V is necessary for compatibility with a huge fleet of existing USB peripherals. 12V - standard supply voltage of various components of systems. 20V is suggested taking into account the fact that for charging most accumulators of most laptops 19–20V external power supplies are used.

A couple of words about cables!


Supporting the format described in the article in full will require tremendous work not only for programmers, but also for electronics manufacturers. It will be necessary to develop and expand the production of a very large number of components. The most obvious is the connectors. In order to withstand high supply voltage, not to interfere with the transmission of signals of very high frequency, and at the same time not to fail after the second connection and not to fall out at the most inappropriate moment, the quality of their manufacture must be radically higher compared to the USB format 2

To combine the transmission of high power and signal with gigabit traffic, cable manufacturers will have to seriously strain.

Admire how a sectional cable looks suitable for our task.



By the way, about the limitations on the length of cables when using the USB 3.1 interface. For data transmission without significant losses at speeds up to 10 Gb / s (Gen 2), the cable length with USB Type-C connectors should not exceed 1 meter, for connections at speeds up to 5 Gb / s (Gen 1) - 2 meters.

Circuitry manufacturers of motherboards, docking stations and laptops will long to wrestle with how to generate power of the order of hundreds of watts, and tracers how to bring it to the USB Type-C connector.

Low-start chip makers.


Symmetric connection and operation of signal lines in different modes will require the use of high-speed signal switch chips. Today the first swallows have appeared. Here, for example, a switch from Texas Instruments, which supports operation in devices in both the host mode and slave mode. It is capable of switching differential line pairs with a signal frequency up to 5 GHz.



The dimensions of the HDC3SS460 3.5 chip are by 5.5 mm and in idle mode it consumes a current of the order of 1 microampere. In the active mode, however, it is less than a milliampere. There are more advanced solutions, for example, NXP chips support the exchange frequency up to 10 GHz.

Power managers began to appear, combined with the chains of protecting signal lines from static, for example, such a product from NXP



It is intended for correct processing of the moment of connecting the connector, as well as opening the power circuit in case of malfunctions. This chip already supports VBUS voltage up to 30 volts, but with the maximum switched current everything is much worse - it should not exceed 1 ampere, which is understandable, given the size - 1.4 by 1.7 mm!

The undisputed leader in this area was Cypress, which released a specialized microcontroller with an ARM Cortex M0 core that supports all five possible power profiles.

A typical switching scheme for use in a laptop gives some idea about it, and you can read more about it by downloading the datasheet.



Unlike the NXP chip, it is focused on managing external power switches and therefore can provide the switching of the required currents and voltages, despite its small size.



Attention, an important feature for those who are already in a hurry to order the first samples - the microcontroller does not have a USB interface and is not a complete and complete solution. It can only serve as a power manager. Pre-order for the delivery of samples and demo boards is currently open. The fate of this microcontroller will apparently largely depend on whether the company - manufacturer of developers will provide reference libraries for its use in different modes.

The fact that several demokits have already been created for him greatly increases the likelihood of the latter.



Lift to heaven or the Tower of Babel.



So today, a completely revolutionary situation. The top can not, and the lower classes do not want to live the old way. Everyone was tired of the mess with a huge number of cables, chargers, power supplies and their low reliability.



New standard spawned unprecedented activity. The flagships of the electronics industry - Apple, Nokia, Asus, are preparing to release their first gadgets with USB Type-C support. The Chinese are already stamping cables and adapters. On the approach of the docking station and hubs with support for high load capacity. Chip manufacturers are developing new microchips and are thinking of pushing a new port driver into the microcontroller. Marketers decide where to insert a new connector, and engineers are scratching their turnips trying to implement multi-profile devices from existing electronic components.

Only one thing is not clear yet. What do we get as a result? Convenient and reliable connector that replaces the lion's share of interfaces and will find daily use, or the Babylonian pandemonium, because the situation may begin to develop according to a not very favorable scenario:

Users can finally get confused in the numerous specifications and cables that will look exactly the same in appearance, but will only be certified for certain profiles. Try to figure it out on the go with all these markings.





But even if it works out, it is unlikely to solve the problem - the Chinese, without a twinge of conscience, can easily put any icon on any cord. And if necessary, to heap on each side of the same cable are different, they will not be confused even if they are mutually exclusive.

The market is flooded with an incredible number of adapters of different caliber and dubious quality.



Trying to connect one device to another will never result in knowing what result this process will lead to and because of what the connection is either completely absent or everything is terribly buggy. Either one of the gadgets does not support the desired profile, or does it support but not too correctly, or, instead of a high-quality cable, got into it a rough Chinese fake. And what would you do if suddenly the only remaining connector on your laptop fails?

Wait and see how it comes out. In the meantime, we hope for the best, although in the transitional period it will definitely not be easy. I understand that my article did not answer all the questions about the new standard, but it’s time to get round and get to work, otherwise I’ll see the very first client who is already dreaming about a USB Type-C compatible motherboard. There is a chance to test this miracle of technology in practice and then share your personal experience.

Until new meetings.

PS The new standard is already leading to the appearance of very exotic devices. So the cable of 100 meter length was announced, which, it seems, does not fit into the standards. The whole point is that he is active. At both ends, the cable has a USB3 interface to optical signal converter. The signal is transmitted through optics and is converted back to the output. Naturally, he does not transmit energy, but only data. In addition, each of the converters at its ends is powered by the connector to which it is connected.
I think that in the near future, self-respecting companies will begin to insert active tags into the cables to confirm the authenticity. The problem of hubs will generate unprecedented activity among developers and manufacturers of DC-DC converters. As rightly noted by the respected user of TimsTims, a situation may arise, for example, that a device that supplies is capable of producing only 12 volts, and devices that are connected to it will begin to request, say, one 5, the other 18.
In general, this standard promises to feed more than one developer, and manufacturers will not remain in the investment.

Source: https://habr.com/ru/post/258251/


All Articles