Documente Academic
Documente Profesional
Documente Cultură
NOVEMBER 2014
HDMI
RU LEMER
!1
RU LEMER
NOVEMBER 2014
There is no margin for loss or misinterpretation of the EDID information, and because
of this; HDMI is often affectionately referred to by engineers as Plug & Pray instead of Plug
& Play [Key Digital, n.d.]. As the EDID is so extensive with HDMI, there is more room for
mistakes, and thus it is a common issue for there to be a handshake failure between the
receiving and sending devices
HDMI uses Transition Minimised Differential Signalling (TMDS) technology to
encode and decode the signal (A two-stage process) [Abiri and Sahebdel, 2010]. One of the
reasons encoding is required when sending digital signals is that the electrical signal will
reduce in definition between the different voltages as the signal travels. The desired sharp
change in voltage can wear away and badly represent the original detail sent through the
wire. TMDS also offers high speed serial transmission and allows for robust clock and data
recovery at the receiving end [Roosevelt et al., 2009].
In essence, the HDMI format is a digital version of RGB analog video - with the main
part of the signal carried on four shielded twisted pairs of wire [Wilson, 2007]. This is
the red, green, blue and the clock signal. In some cases, instead of RGB video, HDMI carries
colour difference video (Y/Pb/Pr) which uses luma information to interpret colour [PC
Magazine Encyclopedia, n.d.a]. This ultimately transmits the same information, but is in a
different form. Sync pulses tell the display (or monitor) where a line or frame ends and
begins, and these are carried on the blue pair.
Having the pairs of wire twisted rather than coaxial (a centre wire surrounded by
insulation and then a grounded shield of braided wire [Beal, n.d.]) provides a lower overall
electrical interference; as interference picked up along the wire will only affect one of the
wires and thus can be eliminated using Low-Voltage Differential Signalling (LVDS). The
two signals in either wire of the twisted pairs are compared with each other instead o to
ground. This differential can be used to remove complications spawned from undesired noise
or signal getting onto one of the lines.
An advanced data encoding algorithm is used on each of the three data channels which
converts 8 bits of video/audio data into a 10-bit (8b/10b) transition minimised DCbalanced sequence [Murphy, n.d.]. This method is more reliable for transmitting data across
long distances as it minimises electromagnetic interference (EMI) in the copper cable and
makes the system very robust.
The DC-balancing component of TMDS involves adding a 9th and 10th bit to a byte
on the end of 8 bits of audio data. This is to counter issues that arise from sending multiple 1s
RU LEMER
!2
RU LEMER
NOVEMBER 2014
or 0s consecutively at very high speeds; as this could result in charging a line. Charge can then
cause the cable to resist a subsequent change of data and thus result in data errors. To
counter this, the added 9th and 10th bit will instruct the following byte to invert polarity in
order to balance the total 1s and 0s in the data stream [Silicon Image, 2004].
There are 19 pins in total contained in the HDMI Type-A connector. In addition to the
signal (+) and inverted signal (-); there is a ground (or data shield) for each channel. The
Consumer Electronics Control (CEC) channel can send command and control data
between connected devices. Display Data Channel (DDC) is a collection of digital
communication protocols between a graphics adaptor and a display, used for monitor
parameters like brightness and contrast [VESA, 2004]. DDC also communicates Extended
Display Identification Data (EDID), which contains information like the display size and
colour characteristics, as well as the HDCP encryption [Extron Electronics, n.d.]. Hot Plug
Detect (HDP) is used to monitor powering up/down and plug/unplug events, reinitialising
the HDMI link if necessary.
The 19 pins in a HDMI Type-A [See page 4 for information on HDMI type] connector are
arranged as follows [HDMI, n.d.a]:
Pin Function
1-9 Three TMDS RGB data channels (+ values, - values, and ground
10-12 TMDS clock channel (+ values, - values, and ground)
13 CEC
14 Reserved for future use in HDMI 1.0, utilised in HDMI 1.4 for ethernet
15-16 DDS and EDID
17 Ground for CEC and DDC channels
18 Power Supply (+5V)
19 HDP
!
HDMI cables that run longer than around 15 metres (or 50 feet) can result in faulty
performance, but this issue can be resolved by using a HDMI Extender that regenerates the
HDMI signal to prevent losses. The extender is a pair of devices that converts HDMI cables
to CAT5/CAT6 cables (see [Gordon, 2013] for more information on cable types) which allows for
RU LEMER
!3
RU LEMER
NOVEMBER 2014
longer runs. The devices amplify the signal to ensure that the level received at the far end is
sufficient. This system can extend the source sometimes up to 300 metres (980 feet) from the
monitor [eBay, 2014].
The HDMI standard implemented in devices is evolving to make more efficient use of
all the connector pins. At the time of writing HDMI is currently on version 1.4. This
introduced HDMI Ethernet Channel (HEC) and Audio Return Channel (ARC), as well
as a few other features.
There are currently 5 types of HDMI cables [HDMI, n.d.b]:
- Standard HDMI Cable (Capable of up to 1080i HD at 74.25MHz)
- Standard HDMI Cable with Ethernet (With HEC functionality)
- Standard Automotive HDMI Cable (This doesnt support HEC, but sends a
stronger signal than other cable types, and is tested to a higher performance standard)
- High Speed HDMI Cable (Capable of 1080p HD and beyond at 340MHz.
Includes 4K, 3D and deep colour)
- High Speed HDMI Cable with Ethernet (With HEC functionality)
RU LEMER
!4
RU LEMER
NOVEMBER 2014
RU LEMER
!5
RU LEMER
NOVEMBER 2014
challenge, and a slight impedance mismatch between the source and load circuits can cause
portions of the signal to be reflected along the cable [Mardiguian, 2010]. Likewise with
impedance variations within sections of the cable - as slight variation is very common when
using two twisted cables contained in a bendable outer layer. This can result in twisted-pair
cables having a 10/15% impedance tolerance. Coaxial cables, on the other hand, have
excellent impedance control and can be seen to practically have around 1% impedance
tolerance [Blue Jeans Cable, n.d.].
This wouldnt be an issue if the bitrate demands of HDMI werent so onerous,
especially as HDMI 1.4 now features Deep Colour, 3D, and other features that require more
bits per pixel at 1080p/60fps with no change to the HDMI hardware architecture. Variations
in impedance along a cable carrying all this data can cause the signal to degrade substantially
over distance, resulting in dropouts and potentially outright signal failure.
When the broadcast engineers needed to develop a system to route digital video from
point to point, the result was Standard-Definition Serial Digital Interface (SD-SDI).
This ran on one, 75 coaxial cable (or optical fibre) and could carry signals hundreds of
metres without errors, without the use of repeaters. SDIs first form was StandardDefinition Serial Digital Interface (SD-SDI), but soon upgraded to EnhancedDefinition Serial Digital Interface (ED-SDI) and High-Definition Serial Digital
Interface (HD-SDI) to suit growing demands for television resolutions. These developments
were made by the Society of Motion Picture and Television Engineers (SMPTE), and
they proceeded to make multiple forms of HD-SDI. The latest and most advanced form
being 3G-SDI which is built on the dual-link HD-SDI standard to allow up to 3 gigabits per
second of data transfer [Lander, 2014].
The SDI standard uses data words that are 8 or 10 bits in length, sending uncompressed
(originally), self-synchronising signals between the source device and the receiving device. The
majority of errors caused by noise or interference can be detected and recovered by use of
the Hamming code [Ram, 2010]. SDI will send video and audio, and can send up to 4
independent digital audio signals with one video signal [Rouse, 2005]. SDI has a bitrate of
270MHz and is sent using a Non-Return to Zero Inverted (NRZI) channel code, as
opposed to HDMIs TMDS.
There is a lot more depth to be gone into regarding the data words and colour coding
of the digital formats explored in this essay, which can be read up on in the HDMI
specifications [HDMI, 2011]. However, it can be seen that the development of digital audio
RU LEMER
!6
RU LEMER
NOVEMBER 2014
cables and connectors was a smooth transition from analog; in the interest of copyright
protection and ease-of-use. As HDMI develops further and more data is being pumped
through the unchanging cables; it will become less and less reliable over distance. HDMI also
seems to be becoming more and more exclusive for HD content because it has settled as the
industry standard connector for digital video and sound - which is especially frustrating when
its rude enough not to perform a correct handshake upon connection.
Sources
- Abiri, S. and Sahebdel, S. (2010). A Method for Implementation of the DC-Balanced 8B/10B
Coding Used in Superspeed USB. 2010 First International Conference on Integrated Intelligent
Computing, pp.68-72.
- Beal, V. (n.d.). What is Coaxial Cable?. [online] Webopedia. Available at: http://
www.webopedia.com/TERM/C/coaxial_cable.html [Accessed 16 Nov. 2014].
- Blue Jeans Cable (Kurt & Pam), (n.d.). HDMI Cable Overview. [online]. Available at:
http://www.bluejeanscable.com/articles/hdmi-cables.htm?hdmiinfo [Accessed 8 Nov.
2014].
- Diffen, (n.d.). DVI vs HDMI - Difference and Comparison. [online] Available at: http://
www.diffen.com/difference/DVI_vs_HDMI [Accessed 14 Nov. 2014].
- eBay, (2014). Everything You Need to Know About HDMI Cables. [online] Available at: http://
www.ebay.com/gds/Everything-You-Need-to-Know-About-HDMI-Cables-/
10000000177630531/g.html [Accessed 16 Nov. 2014].
- Extron Electronics, (n.d.). Understanding EDID - Extended Display Identification Data. [online]
Available at: http://www.extron.com/company/article.aspx?id=uedid [Accessed 17 Nov.
2014].
- Gordon, W. (2013). Ask LH: What's The Difference Between Cat5, Cat5e And Cat6 Ethernet
Cables?. [online] Lifehacker. Available at: http://www.lifehacker.com.au/2013/04/ask-lhwhats-the-difference-between-cat5-cat5e-and-cat6-cables/ [Accessed 16 Nov. 2014].
- HDMI, (n.d.a). Inside an HDMI cable. [online] Available at: http://www.hdmi.org/
installers/insidehdmicable.aspx [Accessed 09 Nov. 2014].
- HDMI, (n.d.b). Finding the Right Cable. [online] Available at: http://www.hdmi.org/
consumer/finding_right_cable.aspx [Accessed 17 Nov. 2014].
- HDMI, (2006). [pdf] HDMI Specification 1.3a. HDMI Licensing, LLC.
- HDMI, (2011). [pdf] HDMI Specification 1.4b and CTS 1.4b. (Available via Adopter Extranet).
- Key Digital, (n.d.). How to Make HDMI Plug & Play Instead of Plug & Pray. [online] Available
at: http://www.keydigital.com/KnowledgeCenter_HDMIPlugNPlay_wp.html [Accessed 18
Nov. 2014].
RU LEMER
!7
RU LEMER
NOVEMBER 2014
- Lander, S. (2014). What Is a Serial Digital Interface?. [online] wiseGEEK. Available at: http://
www.wisegeek.com/what-is-a-serial-digital-interface.htm [Accessed 18 Nov. 2014].
- Lipscomb, D. (n.d.). What Is an HDMI Cable Used For?. [online] RadioShack - Tech
Channel. Available at: http://techchannel.radioshack.com/hdmi-cable-used-for-1484.html
[Accessed 8 Nov. 2014].
- Mardiguian, M. (2010). Differential Transfer Impedance of Shielded Twisted Pairs. [online]
Interference Technology. Available at: http://www.interferencetechnology.com/differentialtransfer-impedance-of-shielded-twisted-pairs/ [Accessed 17 Nov. 2014].
- Murphy, R. (n.d.). What is TMDS and why is it in my HDMI. [online] Ramelectronics.net.
Available at: http://www.ramelectronics.net/tmds.aspx [Accessed 12 Nov. 2014].
- PC Magazine Encyclopedia, (n.d.a). Definition of: DVI. [online] Available at: http://
www.pcmag.com/encyclopedia/term/42144/dvi [Accessed 14 Nov. 2014].
- PC Magazine Encyclopedia, (n.d.b). Definition of: YPbPr. [online] Available at: http://
www.pcmag.com/encyclopedia/term/55163/ypbpr [Accessed 12 Nov. 2014].
- Ram, M. (2010). What is Hamming code? [online] WhatIs.com. Available at: http://
whatis.techtarget.com/definition/Hamming-code [Accessed 17 Nov. 2014].
- Roosevelt, G., Bueno, D., Haque, J., Roper, W. and Romanko, T. (2009). Rad-Hard
high speed serial communication using Honeywell SerDes macros. 2009 IEEE Aerospace conference,
pp.1-10.
- Rouse, M. (2005). What is Serial Digital Interface (SDI)?. [online] TechTarget Search
Networking. Available at: http://searchnetworking.techtarget.com/definition/SerialDigital-Interface [Accessed 11 Nov. 2014].
- Selvan, B. and Green, R. (1994). Component video signal-to-noise ratio analysis of FM and AM
television system. IEEE Trans. Commun., 42(2/3/4), pp.1050-1055.
- Silicon Image. (2004). 1st ed. [pdf] Digital Visual Interface & TMDS Extensions, pp.8-16.
Available at: http://www.siliconimage.com/docs/SiI-WP-007-A.pdf [Accessed 9 Nov.
2014].
- VESA, (2004). Display Data Channel Command Interface (DDC/CI) Standard. Video Electronics
Standards Association, (VESA-2004-10)
- Wilson, T. (2007). How HDMI Works - HowStuffWorks. [online] HowStuffWorks. Available
at: http://electronics.howstuffworks.com/hdmi.htm [Accessed 8 Nov. 2014].
RU LEMER
!8