Skip to content

feishengfei/avb_doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#AVB Summary & note

[TOC]

##Overview

###What is AVB?

Audio Video Bridging is a term for a collection of IEEE Standards for time sensitive networking which facilitates the transport of high performance audio and video on a LAN:

###How is media transported with AVB?

IEEE Std 1722-2011 builds on the following standards for media packetization:

###What are the minimum requirements for an AVB switch?

An AVB Switch is required to support:

  • IEEE Std. 802.1Q-2011 FQTSS and SRP.
  • IEEE Std. 802.1AS-2011 on each AVB enabled ethernet port

###What are the minimum requirements for an AVB device?

An AVB Device that is both an AVDECC Talker and AVDECC Listener is required to support:

  • IEEE Std. 802.1Q-2011 FQTSS and SRP.
  • IEEE Std. 802.1AS-2011 on each AVB enabled ethernet port
  • IEEE Std. 1722.1-2013 AVDECC(AVB Device Enumeration Discovery and Control)

##Standardization

Standard Title Comment
IEEE 802.1BA-2011 Audio Video Bridging (AVB) Systems Identification of participating devices
802.1BA
IEEE 802.1Q-2011 Incorporates IEEE 802.1Qav and IEEE 802.1Qat 802.1Q-2014
802.1Qav and 802.1Qat are two of the amendments to IEEE Std 802.1Q-2005 that were rolled into IEEE Std 802.1Q-2011.
IEEE 802.1Qav Forwarding and Queuing for Time-Sensitive Streams (FQTSS) Traffic shaping for AV streams(at both stream source and AVB bridge)
802.1Qav is now known as IEEE Std 802.1Q-2011 Clause 34, "Forwarding and Queuing for time-sensitive streams".
IEEE 802.1Qat Stream Reservation Protocol (SRP) Admission control
802.1Qat is now known as IEEE Std 802.1Q-2011 Clause 35, "Stream Reservation Protocol".
IEEE 802.1AS-2011 Timing and Synchronization for Time-Sensitive Applications in Bridged Local Area Networks Timing and Synchronization for Time-Sensitive Applications
gPTP(Generalized Precision Time Protocol)
Precise synchronization
802.1AS
802.1AS-Rev
IEEE 1722-2011 Layer 2 Transport Protocol for Time Sensitive Applications in a Bridged Local Area Network IEEE 1722-2011
IEEE 1733-2011 Layer 3 Transport Protocol for Time Sensitive Applications in Local Area Networks IEEE 1733-2011
IEEE 1722.1-2013 Device Discovery, Enumeration, Connection Management and Control Protocol for 1722-Based Devices IEEE 1722.1-2013
Audio, Video, Discovery, Enumeration, Connection management, Control(AVDECC)
AVB Device Enumeration, Discovery and Control

##Link AVB/TSN

##Organization

###AVnu To help ensure interoperability between devices that implement the AVB standards, the AVnu Alliance develops device certification for the automotive, consumer, and professional audio and video markets.

AVnu

IEEE

Audio Video Bridging Task Group of the IEEE 802.1 Time-Sensitive Networking Task Group(Nov, 2012)

##Benefits

  • Improved synchronization
  • Low-latency
  • Reliability
  • No infrastructure requirements
  • Networked Live Sound

##AVB difference with 802 architectures

  • Precise synchronization,
  • Traffic shaping for media streams,
  • admission controls, and
  • Identification of non-participating devices.

##Requirements

synchronizing multiple streams to ensure they can be rendered correctly in time. lip synch. stringent applications: with 1us; Applications must be able to reserve network resources, sometimes called admission control.

##AVB Glossary

  • AVB := 802.1Qat + 802.1Qav + 802.1AS
  • 802.1Qat := MMRP + MVRP + MSRP = “Stream Reservation” SRP(Stream Reservation Protocol)
  • 802.1Qav := “Hardware-based traffic shapers” (Traffic shaping for AV streams) • 802.1AS := “Time Synchronization” (gPTP)
  • L2-based IEEE 1722, 1722.1
  • L3-based IEEE 1733 & RTP
Name Definition Example
Audio Channel One monophonic audio signal
Audio Cluster A group of audio channels in a stream. A single channel of audio
A single S/PDIF or AES3 connection which may contain a stereo audio signal with meta-data or an encoded 5.1 surround-sound audio.
Audio Map A static mapping between an audio Stream’s channels and an Audio Cluster’s channels for Streams and Stream Ports. The Audio Map allows you to select which Audio Channels within which Audio Clusters in a Stream will be processed. For instance, an Audio Map could select: The “Third Channel” from the second 8 audio channel stream by choosing Channel 0 from Cluster 3 from the second audio stream
Audio Unit Contains Signal processing for a single Audio Clock Domain. If a device had the capability of doing processing in multiple clock domains at the same time, the processing for each clock domain would be done within a separate Audio Unit.
AVB Interface An AVB capable network interface capable of sourcing or sinking Streams and participating in an AVB domain.
AVDECC The Acronym used to refer to IEEE Std 1722.1-2013 (Audio Video Discovery Enumeration Connection and Control)
AVDECC Entity A logical object within an End Station that can accept and respond to AVDECC messages. A device may contain more than one AVDECC Entity. Typically, an AVB device will only contain one AVDECC Entity. As far as the AVDECC Controller is concerned, two entities on one device is indistinguishable from two devices with one entity each. One use case for having two AVDECC Entities in one device is to partition it - allow one user to use one portion of a device while allowing another user on the network to change settings on another portion of the same device but not allowing the two users to affect each other’s settings.
Descriptor A machine-readable description of an object within the AVDECC Entity data Model (AEM). Each descriptor has a Descriptor Type and a Descriptor Index. An AVB_INTERFACE Descriptor describes an AVB Interface. A JACK_INPUT descriptor describes an Input Jack. There are descriptors for every user-relevant aspect of the device. A controller program can ask a device for these descriptors to learn about the capabilities of the device to present to the user.
Entity ID The EUI-64 identifier (IEEE-defined 64-bit Extended Unique Identifier) of an AVDECC Entity. The Entity ID is based on the device’s ethernet port’s MAC address, the value of the top bits of which are purchased by a manufacturer from IEEE. The Entity ID for a specific device is a globally unique number.
Entity Model ID The EUI-64 identifier of an AVDECC Entity data Model (AEM). This is a unique number that the manufacturer assigns to device every time a new version of the entity model / object layout / processing structure changes. If a controller sees two devices on the network with the same Entity Model ID, then it will know that these two devices have identical capabilities and processing structure without having to interrogate both of the devices.
Input Stream A Stream that is received by an AVB Listener.
Jack An ingress or egress point of a non-media-stream signal to or from an AVDECC Entity. Typically, a Jack represents a physical connector on a device. A Jack may also be called “Captive” if the logical connector is internal only such as a connection to an amplifier for an embedded speaker driver.
Localized Description A textual description of an object within the AVDECC Entity data Model (AEM) which can be represented in multiple languages. These descriptions are only set by the manufacturer of a device and the user can not change them. An Input Jack may have a Localized Description which would contain the equivalent to the text that is printed on the Silk Screen on the chassis for the jack. Since manufacturers may have different silkscreens for different markets, the data model can contain the multiple languages as well.
Matrix A collection of orthogonal Controls arranged in a two dimensional array. 8 Audio Channel signals are sent to an 8x16 Matrix. The Matrix contains 128 “level” control points (represented in decibels), one for each combination of 8 inputs and 16 outputs. The Matrix mixes each input to each output based on the cross point level and outputs 16 Audio Channel signals.
32 Audio Channel signals are sent to an 32x32 Matrix. The Matrix contains 1024 control points, each with a “level” value (represented in decibels) and “delay” value (represented in seconds), one for each combination of 32 inputs and 32 outputs. The Matrix mixes and delays each input to each output and outputs 32 Audio Channel Signals.
Mixer A Control that combines multiple signals into a single output signal. 8 Audio Channel signals are sent to a Mixer. The Mixer contains one “level” control point per input (represented in decibels). The 8 inputs are mixed with the appropriate levels and outputs one Audio Channel signal.
Media component Fundamental data within an IEEE Std 1722 stream payload. A single channel of audio
A single S/PDIF or AES3 connection containing stereo audio and meta data
A single S/PDIF or AES3 connection containing encoded 5.1 audio
MPEG video
Object Name A 64 character UTF8 name of an object which the user may be able to set, if the device allows it. Almost all objects (Descriptors) can have a user settable name. The most likely objects to have user settable names are the device (Entity), Stream Inputs, Stream Outputs, Input Jacks, and Output Jacks.
Port An ingress or egress point of a signal for a Unit (one clock domain). There are Audio Ports, Video Ports, and Sensor Ports, which correspond to processing done in Audio Units, Video Units, and Sensor Units.
Sub-Signal, Signal, Multi-channel Signal 'part of' or 'one or more media components'. Video portion from MPEG Video data
Audio from an MPEG Video data
Closed captioning from MPEG Video data
A single S/PDIF or AES3 connection.
A single audio channel
Signal Selector A Control for switchable signal routing. A Signal Selector would be used to select audio coming from an analog input jack signal, a digital input jack signal, or an audio channel signal from an AVB stream. Only one source may be selected at a time.
Signal Splitter A Control for splitting a signal into multiple sub-signals. A Signal Splitter would be used to extract the 6 individual Audio Channels from an encoded 5.1 encoded S/PDIF signal. In this case, there would be one S/PDIF signal going into the Signal Splitter, and there would be 6 single audio channel signals coming out of the signal splitter.
A Signal Splitter would be used to extract the video media component and the audio media component from an MPEG transport stream. In this case there would be one MPEG video signal going into the Signal Splitter, and there would be one video signal and one MP3 encoded audio stream signal coming out of the signal splitter
Signal Demultiplexer A Control for demultiplexing a signal into multiple signals. MIDI data sent over an AVB Stream is transported in an Audio Cluster. One Audio Cluster contains up separate 8 MIDI Cables worth of MIDI data which are all multiplexed together. A Signal Demultiplexer would be used to extract the 8 MIDI cables from the one Audio Cluster into 8 individual MIDI cable signals.
Stream A unidirectional flow of IEEE Std 1722 frames with the same StreamID. A stream can be a single channel of audio
An MPEG video stream with embedded audio
An 8 channel stream
One or more S/PDIF lines
SMPTE time code
MIDI messages
Stream Input A Stream Input defines a the part of a device that receives a single AVB Stream and tracks the format and stream status.
Stream Port Input An ingress point of an AVB Stream into an Audio Unit The Stream Input receives the AVB stream and sends it to the appropriate Audio Unit for processing within a Clock Domain via a Stream Port Input.

##Dependency

  • libsndfile1-dev
  • libpcap-dev
  • libpci-dev
  • libjack-dev
  • cmake3
  • (cmocka) libcmocka-dev libcmocka0
  • ninja
  • asciidoc
  • byobu

##Terminology

Name Full Name Comment
AVB Audio Video Bridging
TSN Time Sensitive Networking
AES3(aka AES/EBU) a standard for the exchange of digital audio signals between professional audio devices. Developed by the Audio Engineering Society (AES) and the European Broadcasting Union (EBU).
AES3 has been incorporated into the International Electrotechnical Commission's standard IEC 60958.
, and is available in a consumer-grade variant known as S/PDIF.
S/PDIF Sony/Philips Digital Interface The signal is transmitted over either a coaxial cable with RCA connectors or a fibre optic cable with TOSLINK connectors. S/PDIF interconnects components in home theatres and other digital high-fidelity systems.

IEC 60958 Type I—Balanced, XLR
XLR connectors

IEC 60958 Type II—Unbalanced, RCA
RCA connectors

IEC 60958 Type III Optical—Fiber, F05/TOSLINK
TOSLINK connector

Composite Video RCA connector(yellow)
Composite Video RCA connector yellow
SDI Serial digital interface (SDI) a family of digital video interfaces first standardized by SMPTE (The Society of Motion Picture and Television Engineers) in 1989.
SDI
ADAS Advanced driver-assistance systems
MOST Media Oriented System Transport
LIN (Local Interconnect Network) a very low cost in-vehicle sub-network
FlexRay a general purpose high-speed protocol with safety-critical features FlexRay is an automotive network communications protocol developed by the FlexRay Consortium to govern on-board automotive computing. It is designed to be faster and more reliable than CAN and TTP, but it is also more expensive. The FlexRay consortium disbanded in 2009, but the FlexRay standard is now a set of ISO standards, ISO 17458-1 to 17458-5.
IVI In-Vehicle Infotainment IVI能够实现包括三维导航、实时路况、IPTV、辅助驾驶、故障检测、车辆信息、车身控制、移动办公、无线通讯、基于在线的娱乐功能及TSP服务等一系列应用,极大的提升的车辆电子化、网络化和智能化水平。
ICE In-Car entertainment 同上
RSES/RSE Rear Seat Entertainment System/Rear Seat Entertainment 同上
HUD Head Up Display
AAA2C Avnu Automotive Advisory Council
AVTP Audio Video Transport Protocol

##Automobile Glossary

###ADAS(Advanced driver-assistance systems)

composition

coverage

coverage

history/now/future

adas network

MATEnet for Automotive Ethernet

car avb structure

car most structure

###MOST(Media Oriented System Transport)

most

most

most

most

most

most

most

most

most

most

most

most

most

About

AVB document

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages