CobraNet | |
Manufacturer: | Cirrus Logic |
Switchable: | Yes |
Routable: | No |
10Meg: | No |
100Meg: | yes |
Latency: | ms[1] |
Maxchannels: | 64 |
Samplingrate: | 96 kHz |
Bitdepth: | 24 bits |
CobraNet is a combination of software, hardware, and network protocols designed to deliver uncompressed, multi-channel, low-latency digital audio over a standard Ethernet network. Developed in the 1990s, CobraNet is widely regarded as the first commercially successful audio-over-Ethernet implementation.
CobraNet was designed for and is primarily used in large commercial audio installations such as convention centers, stadiums, airports, theme parks, and concert halls. It has applications where a large number of audio channels must be transmitted over long distances or to multiple locations.[2]
CobraNet is an alternative to analog audio, which suffers from signal degradation over long cable runs due to electromagnetic interference, high-frequency attenuation, and voltage drop. Additionally, the use of digital multiplexing allows audio to be transmitted using less cabling than analog audio.[3]
CobraNet was developed in 1996 by Boulder, Colorado-based Peak Audio. Initial demonstrations were of a 10 Mbit/s point-to-point system with limited channel capacity. The first permanent installation of CobraNet in this early form was to provide background music throughout Disney's Animal Kingdom theme park. The first commercial use of CobraNet was during the halftime show at Super Bowl XXXI in 1997.
CobraNet was first introduced as an interoperable standard in collaboration with manufacturer QSC Audio Products. QSC was the first to license the technology from Peak Audio and marketed it under the RAVE brand. At this point CobraNet had graduated to fast Ethernet and used a unique collision avoidance technique[4] to carry up to 64 channels per Ethernet collision domain.
CobraNet was subsequently enhanced to support and eventually require a switched Ethernet network. An SNMP agent was added for remote control and monitoring. Support for higher sample rates, increased bit resolutions and lowered latency capabilities were later introduced in an incremental and backward-compatible manner.
In May 2001, Cirrus Logic announced that it had acquired the assets of Peak Audio.[5] Leveraging Cirrus DSP technology, a low-cost SoC implementation of CobraNet was developed and marketed.
Using CobraNet and fast Ethernet, 64 channels of uncompressed digital audio are carried through a single category 5 cable. Using gigabit or fiber optic Ethernet variants, the cost of cabling per audio channel is reduced further compared to the fast Ethernet implementation. CobraNet data can coexist with data traffic over existing Ethernet networks so a single network infrastructure can serve audio distribution and other networking needs.
Audio routing can be changed at any time with network commands, and does not require rewiring.
Audio is transmitted in digital form, and provides reduced susceptibility to electromagnetic interference, crosstalk, coloration, and attenuation owing to cable impedance.[6] [7]
Use of Ethernet by CobraNet offers many high availability features such as Spanning Tree Protocol, link aggregation, and network management. For critical applications, CobraNet devices can be wired with redundant connections to the network. In this configuration, if one CobraNet device, cable, or Ethernet switch fails, the other takes over almost immediately.[8] [9]
Delays over the CobraNet transmission medium itself are at least milliseconds[10] per network traversal. For some applications, these delays can be unacceptable – especially when combined with further delays resulting from propagation time, digital signal processing and the conversions between analog and digital.
Licensing the technology or purchasing the required CobraNet interfaces, which encode and decode the CobraNet signal, can be expensive.
CobraNet is transmitted using standard Ethernet packets. Instead of using TCP/IP packets, CobraNet transfers data using data link layer packets, which travel quickly through hubs, bridges and switches, and are not as susceptible to the latency and QoS problems commonly found in streaming protocols using a higher transport layer. However, since CobraNet does not use IP protocol, its packets cannot travel through routers, and therefore it is limited to use on a LAN; CobraNet cannot be used over the Internet. The network over which CobraNet is transmitted must be able to operate at a minimum of . All CobraNet packets are identified with a unique Ethernet protocol identifier (0x8819) assigned to Cirrus Logic.[11]
CobraNet is not designed to work over wireless networks. Bandwidth and reliability issues associated with typical 802.11 wireless networks tend to cause frequent dropouts and errors. However, wireless communication of CobraNet data can be accomplished reliably using lasers.[12]
CobraNet data is organized into channels and bundles. A typical CobraNet signal can contain up to 4 bundles of audio traveling in each direction, for a total of 8 bundles per device. Each bundle houses up to 8 channels of 48 kHz, 20-bit audio, for a total capacity of 64 channels. CobraNet is somewhat scalable, in that channel capacity increases when 16-bit audio is used, and channel capacity decreases when 24-bit audio is used. The number of channels allowed per bundle is limited by the 1,500-byte Ethernet MTU.[11]
There are three types of bundles: multicast, unicast, and private:[11]
As long as multicast bundles are used sparingly, it is virtually impossible to exceed the bandwidth of a 100 Mbit network with CobraNet data. However, there are limitations to the maximum number of bundles that can be sent on a network, since the conductor must include data in its beat packets for every bundle on the network, and the beat packet is limited to 1,500 bytes. If each device is transmitting one bundle, there may be up to 184 transmitters active simultaneously (for a total of 184 bundles). If each device is transmitting four bundles, then only 105 transmitters can be active, although they would be producing a total of 421 active bundles. The use of private bundles does not require any additional data in the beat packet, so these network limitations can be sidestepped by using private bundles.
The CobraNet network is synchronized to a single CobraNet device known as the conductor. A conductor priority can be configured to influence the selection of the conductor. Among devices with the same conductor priority, the first to establish itself on the network becomes is elected conductor. All other devices are known as performers. In the event that the conductor fails, another CobraNet device will be chosen to become the conductor within milliseconds. CobraNet cannot function without a conductor.
Four main types of packet are used in the transmission and synchronization of CobraNet:[11]
The buffering and transmission of audio data in Ethernet packets typically incurs a delay of 256 samples or milliseconds. Additional delays are introduced through analog-to-digital and digital-to-analog conversion. Latency can be reduced by sending smaller packets more often. In most cases, the programmer can choose the desired CobraNet latency for a particular CobraNet device (or milliseconds).[11] However, reducing audio latency has consequences:
Latency | Channels per bundle | ||||||
---|---|---|---|---|---|---|---|
16-bit, 48 kHz | 20-bit, 48 kHz | 24-bit, 48 kHz | 16-bit, 96 kHz | 20-bit, 96 kHz | 24-bit, 96 kHz | ||
ms | 8 | 8 | 7 | 5 | 4 | 3 | |
ms | 8 | 8 | 8 | 8 | 8 | 7 | |
ms | 8 | 8 | 8 | 8 | 8 | 8 |
It may seem from the Latency vs. Channels per bundle table that more information can be sent at a lower latency. However, that is not the case. More channels can be sent per bundle, but fewer bundles can be processed simultaneously by one device. So, while eight 24-bit, 96 kHz channels can be sent in one bundle at ms latency, due to processing constraints, the CobraNet device may only be able to send and receive one bundle instead of the usual four. The bundle capacity of CobraNet devices are unique to the particular device and are not always the same. The Channels per bundle vs. test case latencies table illustrates the bundle capacity for a Biamp AudiaFLEX-CM DSP device. The Rx and Tx columns indicate the absolute maximum number of channels that can be received or transmitted. The Rx/Tx column represents the maximum number of channels that can be received and transmitted simultaneously.[13]
Channels per bundle | ms latency | ms latency | ms latency | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Rx | Tx | Rx/Tx | Rx | Tx | Rx/Tx | Rx | Tx | Rx/Tx | ||
8 | 32 | 32 | 32/32 | 32 | 32 | 32/32 | 32 | 32 | 16/16 | |
7 | 32 | 32 | 32/32 | 32 | 32 | 29/29 | 28 | 32 | 14/15 | |
6 | 32 | 32 | 32/32 | 32 | 32 | 29/29 | 24 | 32 | 12/13 | |
5 | 32 | 32 | 32/32 | 32 | 32 | 25/27 | 21 | 32 | 12/13 | |
4 | 32 | 32 | 32/32 | 32 | 32 | 24/24 | 20 | 28 | 12/12 | |
3 | 32 | 32 | 32/32 | 32 | 32 | 20/21 | 15 | 24 | 9/11 | |
2 | 32 | 32 | 28/29 | 27 | 32 | 16/16 | 12 | 18 | 6/7 | |
1 | 16 | 16 | 16/16 | 16 | 16 | 9/10 | 7 | 10 | 4/4 |
CobraNet interfaces come in several varieties, some of which can support more channels than others. Additionally, CobraNet interfaces have two Ethernet ports labelled "primary" and "secondary". Only the primary Ethernet port needs to be connected, but if both ports are connected the latter acts as a fail-safe. Careful network design and topology which takes advantage of this feature can provide extremely high reliability in critical applications.[8] [9]
The typical CobraNet interfaces provided by Cirrus Logic are the CM-1 and the CM-2:
Both cards are designed to be added to audio products by the manufacturer.
Cirrus Logic provides a software application known as CobraCAD, which assists in the design of the network on which the CobraNet system will run. It helps to identify if there are too many routers between two CobraNet devices, if a certain latency is possible given the network configuration and other tasks. However, Cirrus Logic does not provide software to manipulate their hardware. In fact, in the simplest of cases, no software is required by the end user. For instance, a simple breakout box which converts a CobraNet signal to eight analog audio signals would require little or no configuration by the end user apart from possibly selecting the bundle number.[14] If configuration is required (for example, in a DSP box with integrated CobraNet I/O), then the manufacturer of the device typically supplies proprietary software for that purpose.
One type of device that integrates CobraNet is the audio DSP. As self-powered speakers became more common, Cobranet was frequently used to distribute the audio signal from the DSP.[15] These devices typically receive audio from CobraNet (and often from other digital or analog sources simultaneously), and process the audio using digital filters and effects (for example, volume control, EQ, compression, delay, crossovers, etc.) and then output the audio via CobraNet (or other digital or analog outputs).[16] Some DSPs even have an integral telephone hybrid, and can incorporate CobraNet and other sources into a teleconferencing application.[17]
Amplifiers with integrated CobraNet help keep the signal chain digital for a longer span. Amplifiers with CobraNet inputs may also have limited DSP and network monitoring capabilities.[18]
Loudspeakers with integrated CobraNet help keep the signal chain digital for an even longer span. In a typical unpowered speaker application, the amplifier would be housed far away from the speaker, and a long speaker cable (analog) would be run between the speaker and the amplifier. The speaker cable would be subject to interference and signal loss from electrical resistance. However, a powered speaker, powered by an electrical cable and fitted with integrated CobraNet inputs, eliminates the speaker cable and replaces it with a network cable.[6] [7] Since a speaker will only use one audio channel out of the bundle, many speakers with CobraNet will also have a number of analog outputs for the rest of the channels in the bundle, which is useful in speaker cluster applications.
Many digital mixing consoles are available with optional CobraNet interfaces for increased channel capacity and reduced cabling.
Manufacturers who wish to integrate CobraNet connectivity into their devices either license the technology or purchase CobraNet interface modules or chips from Cirrus Logic.[19] [20] [21] [22] Many audio equipment manufacturers have included CobraNet in their products. Below is a partial list:[23]