Digital Amateur Television

87
Digital Amateur Television How to get Started Joel Wilhite – KD6W

Transcript of Digital Amateur Television

Page 1: Digital Amateur Television

Digital Amateur Television

How to get StartedJoel Wilhite – KD6W

Page 2: Digital Amateur Television

Why do TV at all?

Source: ARRL Handbook

Page 3: Digital Amateur Television

Analog is fine, why Digital?

Page 4: Digital Amateur Television

The next step is a big one…

It might require a significant leap of faith.

How much does a new bridge cost?

Are we not hackers?

?But How do I get to the other side

Page 5: Digital Amateur Television

1 broadcast frequency = 1 analog channel

3635343332313029282726252423222120191817161514

1312111098765432

54MHz 72MHz 76MHz 88MHz 174MHz 216MHz

470MHz 608MHz

138 MHz

42 MHz12 MHz18 MHz

UHF

High VHFLow VHF

37

(VHF total 72 MHz)

Total 210 MHz

Channel #

Channel #

Page 6: Digital Amateur Television

Source: https://en.wikipedia.org/wiki/Digital_television_transition

World Wide Digital TV

Page 7: Digital Amateur Television

DATV Beginnings

EST. 1949

Page 8: Digital Amateur Television

Increasing system gain…

Page 9: Digital Amateur Television

NTSC

Page 10: Digital Amateur Television

If only I had more system gain…

Page 11: Digital Amateur Television

Todd was just told there are no free lunches…

Page 12: Digital Amateur Television
Page 13: Digital Amateur Television

How did the satellite TV industry fix their bandwidth problem?

Page 14: Digital Amateur Television

FM TV

Page 15: Digital Amateur Television

A typical Digital carrier

waveform

Page 16: Digital Amateur Television

C band Satellite Transponder

Modulation

Page 17: Digital Amateur Television

So switching to digital is hard…

Page 18: Digital Amateur Television

SD MPEG 2 ENCODER (CIRCA 2001)

Page 19: Digital Amateur Television

The capacity of ATSC 1.0

19.39Mb/s

Video

Tables

Audio

~1.5%

~6%

~75%

MPEG 2 Transport Stream

NULL Packets ~0.5%

HDVideo

SD Video ~17%

Multiplexing…

Page 20: Digital Amateur Television

HD H.264 encoder (circa 2006)

Page 21: Digital Amateur Television

Where to beginNTSC…. ATSC…. KIT…. HOMEBREW?

Page 22: Digital Amateur Television

WHICH parts are

available?

Page 23: Digital Amateur Television

Analog TV Modulator

Page 24: Digital Amateur Television

Cable TV frequencies

Page 25: Digital Amateur Television

Analog TV Flow

Video Camera

Video Modualtor

Power Amplifier

AnetennaReceiver

(TV)

Page 26: Digital Amateur Television

But we want more power…

Page 27: Digital Amateur Television

Converting from Analog TV to Digital TV

Video Camera

Video/Audio Encoder

Digital Modulator

Power Amplifier

AntennaIntegrated

Receiver Decoder

TV

Digitize and Compress

FEC and I/Q DemodulateDecode

Page 28: Digital Amateur Television

Let’s examine the system in more detail…

Page 29: Digital Amateur Television

The MPEG 2 Transport Stream

MOVING PICTURES EXPERT GROUP

Page 30: Digital Amateur Television

10,000 foot view of MPEG 2 Transport Stream

Video

Audio

Tables

nulls

- Tables are packets with metadata carried on defined PIDs to indicate to a decoder how to “tune in” the channel element(s) inside the transport stream multiplex.

Electrical View

Page 31: Digital Amateur Television

Video Compression Standards

Page 32: Digital Amateur Television

Video Compression

Every frame of video is digitized to convert pixels along the scan lines into quantized levels and formed into data blocks. Using DCT on the blocks allows the encoder to detect changes in luminosity, color, shape* or direction so that only the blocks of the image which change are coded. The coded frames are packetized and stuffed with meta data. Then data compression is applied to form payload packets where the packets are lined up serially to make a bit stream …

Page 33: Digital Amateur Television

MPEG-2 Syntax

Page 34: Digital Amateur Television

MPEG Transport, Video, Audio, Data

Video Elementary Stream

MPEG-2 video

syntax

Imagestructure

. . .

MPEG-2 System

Syntax

Packetized Elementary StreamHeader

(fixed or variable length packets)

Payload

Header PayloadFixed length packets

(188 bytes)

Stuffing

Page 35: Digital Amateur Television

MPEG-2 Synchronization

PTS

PTS

PCR

PTS

PTS

PTS PTS PTS PTS

PTS

Page 36: Digital Amateur Television

Which video compression codec?

Page 37: Digital Amateur Television

Even Batman is good with MPEG 2

But what about AVC?

Page 38: Digital Amateur Television

Bit Rate or Compression Efficiency

Page 39: Digital Amateur Television

Processing Power and Resources

Page 40: Digital Amateur Television

Software toolsFree for non-commercial use

VLCFFMPEG TSReader

Page 41: Digital Amateur Television

Audio Compression

Page 42: Digital Amateur Television

MPEG 1 layer II audio is good enough, ok?

Page 43: Digital Amateur Television

Modulation Systems

Page 44: Digital Amateur Television

Modulation Standards

• ATSC 6 MHz (terrestrial)

•DTMB 8 MHz (terrestrial)

•DVB-C 6 / 8 MHz (cable)

•DVB-S variable (satellite)

•DVB-T 6 / 7 / 8 MHz* (terrestrial)

• ISDB-T 8 MHz (terrestrial)

Page 45: Digital Amateur Television

Though convenient, why not 8VSB?

Are you CRAZY?

Page 46: Digital Amateur Television

DVB-S – has been used for many years

Page 47: Digital Amateur Television

And the winner is… QPSK

Page 48: Digital Amateur Television

QPSK vs QAM

Page 49: Digital Amateur Television

QPSK Modulator

Page 50: Digital Amateur Television

MPEG Tables

and other regulatory stuff

Page 51: Digital Amateur Television

Table Hierarchy - MPEG PAT and PMT

PAT 0x0000#1 PMT 0x0020#2 PMT 0x1020

PMT 0x0020#1 vid 0x0021#1 aud 0x0022

#2 vid 0x1021#2 aud1 0x1022#2 aud2 0x1023

PMT 0x1020NIT 0x0010

Page 52: Digital Amateur Television

artwork

KD6Wwas here

Page 53: Digital Amateur Television

Transport Streams and Multiplexing

Page 54: Digital Amateur Television

SIMPLE Multiplexing

MU

LTIP

LE

XE

R

ENCODER 1

ENCODER 2

MODULATOR

2+2 = 4

4

2

2

Page 55: Digital Amateur Television

MPEG-2 Transport Stream•The MPEG transport stream is the data stream the decoder ultimately looks for.

• 188 byte packets

• PCR for each Program

• It contains the program elements and the metadata describing them

MPEG-2 Transport Stream

Sports Channel

Weather Channel

KXPB Channel

MPEG-2 Multi-Program Transport Stream

Video Stream

Audio Stream

Programs

Metadata (tables)

Interactive Carousel

Video Stream

Audio Stream

Metadata (tables)

Video Stream

Audio Stream

Metadata (tables)

Logical View

Page 56: Digital Amateur Television

Which Bands are Most Useful for DATV?

Page 57: Digital Amateur Television

Popular Frequencies

•427MHz 6 MHz

•912 MHz 15 MHz

---------------------------------------------

•1240 - 1290 MHz 30 MHz

•2400 - 2450 MHz 50 MHz

•3440 – 3460 MHz 20 MHz

•5600 – 5700 MHz 100 MHz

•10100 – 10450 MHz ~350 MHz

Page 58: Digital Amateur Television

A quick word about 440 MHz

Page 59: Digital Amateur Television

1.2 GHz Band• The “L BAND” of an IRD is defined as a

range 950 - 2200 MHz

• IRD tuners can therefore tune the entire 1.2GHz band with no converters

• The IRD has the ability to inject a bias 12-18VDC on the coax …

• Turn off the DC in the IRD or

• Add a DC block to the line or

• Use the DC to run a LNA or

• Use the DC and run a down converter Designed for 1296 work

Page 60: Digital Amateur Television

A Ham friendly

DATV RECEIVER

for under $40

THE DVB S/S2

IRD

Page 61: Digital Amateur Television

QPSK Calculations

A tiny bit of math…

Page 62: Digital Amateur Television

Scanning for settings…

Page 63: Digital Amateur Television

Forward Error Correction

A B C FEC

FEC = 3/4

A B C FEC

A B C FEC

A B C 3 BITS are sent

Sum of 3 bits creates FEC

4 bits received, 1 is corrupt

Receiver corrects damage

Page 64: Digital Amateur Television

Forward Error Correction example

FEC ratio Bit Rate

1/2 1.75509 Mb/s

2/3 2.34013 Mb/s

3/4 2.63359 Mb/s

5/6 2.92706 Mb/s

7/8 3.07380 Mb/s

http://jaunty-electronics.com/blog/2012/05/bpsk-qpsk-8psk-and-qam-calculator/

Page 65: Digital Amateur Television

Calculating Occupied Bandwidth

MPEG 2 TS packet = 188 bytes

Reed Solomon = 16 bytes

QPSK = 2 bits per symbol

Coding Rate = ½ 2/3 ¾ 5/6 7/8 etc.

Symbols/sec = (Bits/second × 204) / (188 × Bits/symbol(CR)

Example - 4 Mega bits/sec

4000000 * 204 / 188 * 2(3/4) = 2894360

or 2.89436 Mega symbols/sec

Page 66: Digital Amateur Television

NYQUIST Roll Off

Page 67: Digital Amateur Television

Calculating occupied bandwidth

Nyquist Roll Off (factor)

2.89436 Mega symbols/sec x 25% roll off =

2.89436 x 1.25 = 3.61795 MHz

Page 68: Digital Amateur Television

System Setup

Page 69: Digital Amateur Television

POWER - AC or DC?

Page 70: Digital Amateur Television

Lights

Page 71: Digital Amateur Television

Cameras

Page 72: Digital Amateur Television

Some Equipment Considerations

•Station Monitors

•Production Switcher

•Microphones

•Mixing board

Page 73: Digital Amateur Television

Consider a DATV Multiplexed Repeater

Page 74: Digital Amateur Television

Spectrum Management

6 MHz 6 MHz 6 MHz 6 MHz

ANALOG = 4 Channels (4 video + 4 audio)

Page 75: Digital Amateur Television

Building a MPEG 2 Multiplex

MU

LTIP

LE

XE

R

ENCODER 1

ENCODER 2

MODULATOR

A statmux process is used to create Variable Bit Rate (VBR) encoding

Page 76: Digital Amateur Television

Spectrum management

1 MHz

6 MHzAnalog or Digital

2 MHz

DIGITAL = 15 Channels Videoand ~32 Ch. Audio

2 MHz 3 MHz 1 MHz

1 MHz

4 MHz(VBR)

4 MHz(VBR)

Page 77: Digital Amateur Television

Homebrew DATV station…

The bare minimum…

Page 78: Digital Amateur Television

ATV Receiver system•Antenna – one for each band

•Frequency Converters - for the other band(s) of interest

•LNA – (optional)

• IRD – consumer QPSK tuner/decoder

•TV – usually includes an Analog “cable” receiver

Page 79: Digital Amateur Television

ATV Transmitter System

• Camera –

•Microphone –

• TV –

• Analog Modulator

•MPEG Encoder

• Digital Modulator –

• Frequency Up-converter

• Amplifier –

• Mask Filter – be nice!

• Antenna

Page 80: Digital Amateur Television

Add a T/R relay and you are

ready…

Page 81: Digital Amateur Television

Lets go for some DX!

Page 82: Digital Amateur Television

Summary

Page 83: Digital Amateur Television

Analog vs DigitalAnalog (AM)

•Only supports SD

•Only supports one channel

• Requires 6 MHz bandwidth

• Easily distorted but no cliff effect

Digital•Has buffer delay

• Introduces artifacts

• Adds more cost

• Steep learning curve

•Has cliff effect but pictures are always perfect

Page 84: Digital Amateur Television

EBay equipment search terms…

Blonder Tongue, DiviCom,

Harmonic, Electra, ION, NDS,

Ericsson, Motorola, Newtec,

Scopus Scientific Atlanta,

Tandberg, Tiernan, Sencore,

DVB-S, MPEG2,

IRD, encoder, decoder,

modulator

Page 85: Digital Amateur Television

References - Web LinksMore information

Get the word out…

www.arrl.orgwww.atn-tv.orgwww.atsc.orgwww.batc.org.ukwww.darc.dewww.dvb.orgwww.mdarc.orgwww.mpeg.orgwww.nor-cal-datv.orgwww.hamtv.com *www.tvhistory.tven.wikipedia.org/wiki/Program-specific_information

* I don’t support or represent this site but they do offer some

good information and other useful links for further research.

Page 86: Digital Amateur Television

Read on and prosper…

Thank you!

[email protected]

Page 87: Digital Amateur Television

Some slide artwork and pictures in this presentation are fromvarious authors and published here with differing usage rightsand restrictions and are copied here under Fair Rights usage, notfor profit. This presentation is not intended to promote a productor to solicit an offer for business for any commercial reasons.

All Rights Reserved NOR-CAL-DATV.org

The sale of this slide deck is prohibited.Any unauthorized broadcasting, public performance,

copying or re-recording will constitute an infringement of copyright.

Permission granted to reproduce for personal and educational use only.

Commercial copying, hiring, lending is prohibited.

-

This presentation is copyright Joel Wilhite KD6W NOR-CAL-DATV.org

Amateurs with prior written consent may use this presentation in whole,

unchanged and credits are maintained.

Obtain permission in writing before redistributing.

In all cases, this notice must remain intact with this presentation.

@KD6W 2020