System Science #1: Connection Methods

USB, PCIe, Thunderbolt or Ethernet?

Out In The Open

Computers are designed to be expandable. Manufacturers can’t predict how large a screen you might want, or what sort of keyboard you like, or whether you’ll want to add a graphics tablet, a scanner, or a high-performance audio interface. So, where possible, they leave these choices up to the user.

Only you know what devices you might want to attach to your computer. Standard protocols mean computer manufacturers don’t have to choose for you.

Bits And Bandwidth

At the most basic level, what all these connections do is to make an electrical link between the computer and the other device. This link is then used to transfer digital data: high and low voltages that represent binary digits or ‘bits’. A microchip called a controller at either end of the link takes care of sending and receiving these ones and zeroes, but as far as the controller is concerned, all that matters is that a string of ones and zeroes has successfully been transmitted. It doesn’t know or care whether those bits add up to a photo of your kids, a chapter of your latest novel, or the best vocal take of your life.

In Real Time

With some types of computer peripheral, it’s more important to transfer data reliably than to transfer it continuously. When we’re backing up to a hard drive, it’s not disastrous if things occasionally get held up: what really matters is that the data gets there intact in the end. For sound recording, though, the mere ability to transfer large amounts of data isn’t enough. We need to maintain a continuous stream of data, and if that stream is interrupted, we can’t afford to wait around while the missing bits are tracked down.

The difference between a bulk transfer and a real-time streaming (isochronous) transfer. Bulk transfers are sporadic, and would wreak havoc on your pristine audio streams.

Making Connections

In the case of PCIe, the electrical connection between computer and expansion devices is achieved by plugging the expansion card directly into a slot on the computer’s motherboard. Other types of connection use cables to join the computer and the expansion device, and in general, they all require their own individual connectors and cables. However, it’s not as simple as every way of connecting having one single connector type. For example, the original FireWire 400 specification supported two different types of connector: a larger six-pin one, and a smaller four-pin one for laptops and mobile devices. When the specification was upgraded as FireWire 800, a third connector type appeared.

Cable types (top to bottom): Thunderbolt 1 & 2 using the MiniDisplayPort connector. USB 1 & 2 (orange). USB 3 (note the blue plug interior). USB-C / Thunderbolt 3. Ethernet/RJ45 — usually for networked audio applications.

Type C For Confusion

The potential for confusion grows ever greater when we consider Thunderbolt and USB 3.1. Instead of having a single standard with several different connector types, we now have single connectors that can support several different standards.

PCI Express

As we mentioned earlier, PCIe devices actually live inside the computer, on cards inserted into slots in its motherboard. Compared with some external connection protocols such as USB or FireWire, PCIe cards integrate on a more basic level into the architecture of the computer. In fact, most other connection types can ‘piggyback’ on PCIe. If, for instance, we wanted to increase the number of USB ports on our computer, we could install a PCIe card to add those connections.

Front/Centre: open PCIe slots on a PC motherboard. PCIe cards fit inside the computer and integrate into its architecture at a relatively low level.
PCIe is used mostly by high-end modular systems such as Avid’s HDX, which combines PCIe cards with external rackmountable converters, such as the Focusrite Red 8Pre, as shown here.

USB

Despite having been designed precisely with applications such as audio recording in mind, the Universal Serial Bus protocol has had a sketchy history in this department. From USB 2.0 onwards, the standard has offered enough theoretical bandwidth for serious multitrack recording, but the real-world low-latency performance of USB interfaces has been variable. The best of them, including Focusrite’s second-generation Scarlett range, come pretty close to matching what’s possible with Thunderbolt or PCIe. Others struggle to deliver latency figures low enough for real-time monitoring, or do so only with very high CPU loads. This is a crucial point to research when you’re choosing a USB interface.

Thunderbolt

Although multitrack audio recording on a computer can be challenging, the amount of data involved is relatively modest compared with, say, the capture of high-definition video footage. It was these very intensive tasks that prompted the development of an externalised version of PCIe, and the latest version of this new standard, Thunderbolt 3, can shift a mind-boggling 40 Gigabits per second.

Gigabit Ethernet

Computers don’t only need to talk to peripherals such as printers and audio interfaces. They also need to talk to other computers, and whereas other standards such as USB and Thunderbolt are primarily designed for adding additional hardware to a single computer, Ethernet has been developed mainly for communication between computers. So, although it offers plenty of bandwidth for audio recording, it wasn’t originally designed for that purpose, and there are many technical challenges that need to be overcome in making ‘audio over IP’ work properly. As a result, although Ethernet is the oldest connection protocol in common use today, and one of the most ubiquitous, it’s only in recent years that it has become a viable option for studio recording.

The ubiquitous RJ45 connector has been a fixture on computers for many years, but it’s only recently that Ethernet has become a popular option for studio recording. Here, a rack of Focusrite RedNet MP8R mic preamps are connected to the Dante network via conventional RJ45 Ethernet cables.
Block diagram of complex networked studio installation with multiple live and control rooms connected over Ethernet.

Hybrid Systems

Although the network sockets built into typical computers are usable for audio over Ethernet, it’s usually necessary to install a purpose-designed Ethernet card for best results. A Dante system using Focusrite’s RedNet PCIe card, for example, can achieve very good low-latency performance. However, fast Ethernet connectivity can also be added in other ways, and this fact has been exploited to create interfaces that combine both USB or Thunderbolt audio and audio over Ethernet. In effect, a single unit acts both as a Thunderbolt or USB audio interface, and as an Ethernet switch or hub for connecting Dante or AVB audio devices. This concept is the basis of Focusrite’s Red 4Pre, Red 8Pre and Red 16 Line, and is one of the key developments that is bringing Ethernet audio to a wider market.

Focusrite’s Red interface range offers the joint benefits of fast, easy-to-use Thunderbolt interfacing and expandable Dante networking.

Bus Power

One of the main reasons why Intel eventually chose to use electrical rather than optical cables for Thunderbolt was that they can deliver power as well as data. This is an important factor for many add-on devices, including audio interfaces, because it can potentially eliminate the need for those devices to have mains power supplies of their own. So, for instance, USB 2 devices are permitted to draw up to 500mA at 5V from the host computer, while USB 3 raises this to 900mA, and Thunderbolt theoretically supports up to 550mA at 18V. However, it’s important to note that the specifications usually refer to the maximum power that an attached device is allowed to demand: they don’t guarantee that the computer will be able to meet that demand.

Bus powering is highly convenient for small, portable interfaces, but it’s hard to guarantee sufficient power is available for optimum audio performance or for larger devices.

Serial Vs Parallel

Digital data is made up of binary digits or bits. These can be represented any way you like — holes in a punch card, pulses of light in an optical cable — but in most computer connections they are encoded as voltages. For instance, USB2 operating in High Speed mode represents zeroes by a voltage of 0V and ones by 400mV.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store