Synchronization Issues During Encoder / Decoder Tests

Similar documents
Asynchronous inputs. 9 - Metastability and Clock Recovery. A simple synchronizer. Only one synchronizer per input

A NEW METHOD FOR RECALCULATING THE PROGRAM CLOCK REFERENCE IN A PACKET-BASED TRANSMISSION NETWORK

Introduction This application note describes the XTREME-1000E 8VSB Digital Exciter and its applications.

Loop Bandwidth Optimization and Jitter Measurement Techniques for Serial HDTV Systems

Description of ResE Video Applications and Requirements

White Paper Lower Costs in Broadcasting Applications With Integration Using FPGAs

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

White Paper. Video-over-IP: Network Performance Analysis

AMD-53-C TWIN MODULATOR / MULTIPLEXER AMD-53-C DVB-C MODULATOR / MULTIPLEXER INSTRUCTION MANUAL

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

Thor Broadcast SDI-DVBT-IP & SDI-DVBT-IPLL Product Lines

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

Microwave PSU Broadcast DvB Streaming Network

Cisco D9894 HD/SD AVC Low Delay Contribution Decoder

NOTICE. (Formulated under the cognizance of the CTA R4 Video Systems Committee.)

Dual Link DVI Receiver Implementation

Laboratory 4. Figure 1: Serdes Transceiver

GNS600 SCTE104 VANC inserter, Ethernet data-bridge for 3G, HD and SD SDI Inputs and X31 Cue encoder/decoder

AT70XUSB. Digital Video Interfacing Products

BABAR IFR TDC Board (ITB): requirements and system description

AT660PCI. Digital Video Interfacing Products. DVB-S2/S (QPSK) Satellite Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

Alcatel-Lucent 5910 Video Services Appliance. Assured and Optimized IPTV Delivery

AT780PCI. Digital Video Interfacing Products. Multi-standard DVB-T2/T/C Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

Case Study Monitoring for Reliability

Therefore, HDCVI is an optimal solution for megapixel high definition application, featuring non-latent long-distance transmission at lower cost.

Content regionalization and Targeted Ad Insertion in DTT SFN networks. Berry Eskes Regional Director EMEA North, Russia & CIS

DisplayPort 1.4 Link Layer Compliance

AT720USB. Digital Video Interfacing Products. DVB-C (QAM-B, 8VSB) Input Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

for Television ---- Formatting AES/EBU Audio and Auxiliary Data into Digital Video Ancillary Data Space

SMPTE-259M/DVB-ASI Scrambler/Controller

Ordinary Clock (OC) Application Service Interface

2 MHz Lock-In Amplifier

SingMai Electronics SM06. Advanced Composite Video Interface: DVI/HD-SDI to acvi converter module. User Manual. Revision th December 2016

Model 5240 Digital to Analog Key Converter Data Pack

Audio Watermarking (NexTracker )

PixelNet. Jupiter. The Distributed Display Wall System. by InFocus. infocus.com

Research & Development. White Paper WHP 318. Live subtitles re-timing. proof of concept BRITISH BROADCASTING CORPORATION.

MX/HD-SDI-3G. Transmit HD-SDI-3G signals over Fiber

COPYRIGHT 2011 AXON DIGITAL DESIGN BV ALL RIGHTS RESERVED

DQT1000 MODEL DIGITAL TO QAM TRANSCODER WITH DIGITAL PROCESSING AND MULTIPLEXING

F M2SDI 2 Ch Tx & Rx. HD SDI Fiber Optic Link with RS 485 & Aux. User Manual

About... D 3 Technology TM.

Jupiter PixelNet. The distributed display wall system. infocus.com

Implementing SMPTE SDI Interfaces with Artix-7 FPGA GTP Transceivers Author: John Snow

An Asynchronous Fully Digital DLL for DDR SDRAM Data Recovery

LMH0340/LMH0341 SerDes EVK User Guide

Implementing Audio IP in SDI II on Arria V Development Board

A MISSILE INSTRUMENTATION ENCODER

Rec. ITU-R BT RECOMMENDATION ITU-R BT * WIDE-SCREEN SIGNALLING FOR BROADCASTING

News from Rohde&Schwarz Number 195 (2008/I)

Clocking Spring /18/05

A New Hardware Implementation of Manchester Line Decoder

IEEE802.11a Based Wireless AV Module(WAVM) with Digital AV Interface. Outline

BER MEASUREMENT IN THE NOISY CHANNEL

Video Reference Timing with Tektronix Signal Generators

Synthesized Clock Generator

Multi-language audio in Dolby E. A description of how to encode multiple COPYRIGHT 2011 AXON DIGITAL DESIGN B.V. ALL RIGHTS RESERVED

INT-DS2 DVB-S/S2 SATELLITE MODULATOR DVB MODULATOR

Physical Layer Testing of 3G-SDI and HD-SDI Serial Digital Signals APPLICATION NOTE

DVB-S2 and DVB-RCS for VSAT and Direct Satellite TV Broadcasting

IQDEC01. Composite Decoder, Synchronizer, Audio Embedder with Noise Reduction - 12 bit. Does this module suit your application?

MediaKind RX

Dual HD input, frame synchronizer, down converter, embedder, CVBS encoder ALL RIGHTS RESERVED

SHF Communication Technologies AG,

SHF Communication Technologies AG,

COD882ASI Datasheet DATASHEET. COD882ASI Eight channel DTV server

The ASI demonstration uses the Altera ASI MegaCore function and the Cyclone video demonstration board.

GFT Channel Slave Generator

Dual HD input, frame synchronizer, down converter with embedder, de-embedder and CVBS encoder COPYRIGHT 2008 AXON DIGITAL DESIGN BV

3Gb/s, HD, SD stereoscopic production (extreme low latency) and transmission tool for 3D applications ALL RIGHTS RESERVED

Dual HD input, frame synchronizer, down converter, embedder, CVBS encoder COPYRIGHT 2008 AXON DIGITAL DESIGN BV ALL RIGHTS RESERVED

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

3Gb/s, HD, SD 16ch digital audio embedder with embedded domain audio shuffler, mixer and framesync COPYRIGHT 2018 AXON DIGITAL DESIGN BV

Sources of Error in Time Interval Measurements

ITV-EN460d MPEG-4 AVC Encoder

F M1SDI 1 Ch Tx & Rx. HD SDI Fiber Optic Link with RS 485. User Manual

Synchronizing Multiple ADC08xxxx Giga-Sample ADCs

Working Document. Chapter 1. Subject matter and scope This Regulation establishes ecodesign requirements for simple set-top boxes.

SPG8000A Master Sync / Clock Reference Generator Release Notes

Dual Link DVI Receiver Implementation

CONSOLIDATED VERSION IEC Digital audio interface Part 3: Consumer applications. colour inside. Edition

Advice on the use of 3 Gbit/s HD-SDI interfaces

METADATA CHALLENGES FOR TODAY'S TV BROADCAST SYSTEMS

A better way to get visual information where you need it.

Timing Modules. Connect Frequency Control Timing Modules

From Synchronous to Asynchronous Design

IP FLASH CASTER. Transports 4K Uncompressed 4K AV Signals over 10GbE Networks. HDMI 2.0 USB 2.0 RS-232 IR Gigabit LAN

12G-SDI Physical Layer Analysis using the Ultra 4K Tool Box

KRAMER ELECTRONICS LTD. USER MANUAL MODELS: 613T 3G HD-SDI Mini Optical Transmitter. 613R 3G HD-SDI Mini Optical Receiver. P/N: Rev 4

OmniTek

Serial Digital Interface II Reference Design for Stratix V Devices

QRF5000 MDU ENCODER. Data Sheet

SDTV 1 DigitalSignal/Data - Serial Digital Interface

DS2176 T1 Receive Buffer

VNP 100 application note: At home Production Workflow, REMI

4 MHz Lock-In Amplifier

Product Information. EIB 700 Series External Interface Box

National Park Service Photo. Utah 400 Series 1. Digital Routing Switcher.

Messenger Veta Receiver Decoder (MVRD)

Techniques for Extending Real-Time Oscilloscope Bandwidth

Transcription:

OmniTek PQA Application Note: Synchronization Issues During Encoder / Decoder Tests Revision 1.0 www.omnitek.tv OmniTek Advanced Measurement Technology

1 INTRODUCTION The OmniTek PQA system is very well suited to performing real-time picture quality tests on compression encoders and decoders. The PQA can quickly display any changes to the various quality metrics when the encoded bit-rate is changed, allowing broadcasters and transmission engineers to optimize their system parameters or chose between equipment from different manufacturers. When setting up a test system to perform reliable, repeatable picture quality measurements, it is important to understand some of the timing and synchronization issues involved. This Application Note highlights some of the potential pitfalls and recommends suitable connection topologies. 2 THE PROBLEM Consider the generalized encoder / decoder system block diagram shown in Figure 1. Figure 1: Typical Encoder / Decoder Arrangement With most broadcast-quality compression encoder systems (for example MPEG-2, MPEG-4, JPEG 2000), the input to the encoder is an SDI (or HD-SDI) signal. The compressed data output from the encoder emerges as an ASI stream, or perhaps an asynchronous 802.11 network connection in IPTV applications, or an ATM network port. In the decoder unit, this compressed stream is then converted back to the SDI domain. In order to maintain a synchronous video link with no dropped or repeated frames, the SDI output from the decoder must be co-timed (within tight tolerances) to the encoder SDI input. How is this achieved, given that (a) the encoder and decoder may be physically located many miles apart, and (b) the compressed data interface between encoder and decoder is asynchronous to the video? The answer is that video timing information packets are embedded inside the compressed data stream, to enable the decoder to accurately reconstruct the video timing. In the case of regular MPEG-2 / MPEG-4 transport streams, these packets are called Program Clock Reference or PCR data, and are usually transmitted around 10 ~ 30 times per second. The PCR data is in the form of a 42-bit counter value, based on a reference 27MHz clock inside the encoder unit which is locked to the incoming SDI stream. The bottom 9 bits of the counter run from 0 ~ 299 and then roll over, at which time the value of the top 33-bit count is incremented. This means that the top 33-bit counter is operating at a nominal 90kHz count rate, called the base rate. 2

The decoder receives the PCR data and uses the count values to synchronize an internal 27MHz clock (usually implemented in a voltage-controlled oscillator / phase-locked loop circuit). The output SDI timing is then derived from this 27MHz reconstructed clock. See figure 2. Figure 2: Simplified decoder clock recovery circuit This PCR process has some inherent limitations, which give rise to errors in the recovered clock accuracy, increased jitter, and low-frequency drifting or wander. There is a lot of freely-available technical literature on the analysis of PCR jitter (see references), but a detailed description is outside the scope of this Application Note. The most important point to understand is that: The SDI output from the decoder may have a considerable amount of jitter or wander, compared to the original encoder SDI input. Figure 3 contains a graph of end-to-end SDI propagation delay measurements through a typical broadcast MPEG-2 encoder / decoder system. The graph shows how the total delay through the system drifts over a 17-hour period, due to the accumulated PCR inaccuracies. Note there seem to be two separate wander frequencies at work here: (a) the relatively high frequency oscillation of +/-5 µs, which corresponds to the 90kHz PCR base timing jitter; and (b) the extremely low frequency drift, which may be due to temperature susceptibility of the generator or decoder VCO circuit. Figure 3: Propagation delay through a typical MPEG-2 encoder / decoder 3

To help reduce output jitter & wander, and to maintain a controlled video processing latency, many manufacturers provide an optional frame synchronizer function on the SDI output from the broadcast decoder unit. When the decoder is supplied with a reference sync source, the SDI output is stabilized and re-timed to this sync input. 3 USING THE OmniTek PQA To perform measurements with real-time encoder & decoder systems, the OmniTek PQA can be used either in Internal / External mode (see figure 3) or External / External mode (figure 4). It is important to know that the PQA does not contain internal frame synchronizers on the SDI inputs; the processing electronics requires that the reference and test sources are co-timed (with each other, and also with the PQA internal clock). It doesn t matter if there is a fixed H or V offset between the inputs, so long as they are co-timed. If the sources are not synchronous, then the PQA will detect TRS or CRC errors on the inputs and the quality measurements will not be reliable. Figure 4: Using the PQA in Internal / External mode 4

Figure 5: Using the PQA in External / External mode The two SDI inputs of the PQA do actually contain small asynchronous FIFO buffers, to allow for a little jitter or wander between the inputs (and with respect to the PQA internal clock). The size of these FIFO buffers has been considerably increased in the latest software release: Version 2.2.0.12 and earlier: +/- 200ns (HD), +/- 600ns (SD) Version 2.2.0.13: +/- 13 µs (HD), +/- 37µs (SD) When making measurements with the PQA, it is important to be aware of the magnitude of any timing wander expected between the input sources. The graph in Figure 3 shows that quite a wide timing range can be expected from certain encoder/decoder systems. Note that it sometimes takes several minutes for the encoder/decoder timing to stabilize after changing the input source or after adjusting any of the encoder parameters. If the propagation delay wander is likely to be larger than the time periods quoted above, then it will be necessary to employ an external frame synchronizer unit to re-align the signals and prevent any input buffer over/underflows leading to data errors. The frame synchronizer may actually be built into the decoder itself, as mentioned earlier. When using a frame synchronizer, the recommended system configuration is shown in Figure 6. Be aware, however, that this is not a perfect solution to the wander issue; the frame sync will simply drop or repeat frames in order to maintain output timing, which may cause further problems because the temporal frame alignment between the two video sources will then be incorrect. It may be necessary to make repeated adjustments to the PQA delay compensation buffer, depending on how often the frames are dropped or repeated. Use the picture difference display to make sure the images are aligned at all times. 5

Figure 6: Using a decoder with built-in output frame synchronizer 4 SUMMARY When performing picture quality measurements using real-time encoder/decoder combinations, it is important to understand the timing relationship between the encoder SDI input and the decoder SDI output. These must be co-timed, within a narrow time range. The latest software release for the OmniTek PQA, version 2.2.0.13, contains improved SDI input buffers which provide for a much larger timing window between these inputs, so all PQA customers are advised to upgrade to this release when convenient. If the timing window is still insufficient to cope with the drift in propagation delay through the encoder/decoder, then the use of an external frame synchronizer on the decoder output is recommended. For more information on this subject or any other questions regarding the PQA, please contact your local OmniTek dealer or the head office in Basingstoke. 6

5 REFERENCES OmniTek PQA User Manual v2.2 OmniTek PQA Application Guide v2.2 ISO/IEC 13818-1, 13818-2, 13818-9: Information Technology Generic coding of moving pictures and associated audio information ETSI Technical Report TR 101 290: Measurement guidelines for DVB systems Tektronix 25W_14617_1: PCR Measurements Primer 7