Re: Digital processing of analog TV broadcast





On Nov 29, 10:18 pm, sp_mcla...@xxxxxxxxx wrote:
Ancient_Hacker wrote:
Whew, quite a challenge. Is there some good reason you're doing this
the hard way?The quick answer is... no. It's more of an exercise than a practical
design.

Doing it digitally is a bit challenging as you need rather precise
phase lock to the 3.5xx subcarrier and differential phase with gain
tracking.See, I'm still trying to understand why the needed level of precision
is difficult to attain. In my case, I'm oversampling by quite a bit (50
MSPS for a ~3.5 MHz signal). My sampling clock comes directly from the
FPGA clock - fixed and stable. It is free-running, and bears no
relation to the hsync or color subcarrier timing.

I regenerate the chroma subcarrier using a numerically controlled
oscillator, which generates two outputs 90 degrees out of phase. The
NCO is digitally phase locked to the color burst. I seperate the chroma
from the luminance using a comb filter (2d adaptive). Then I just do
coherent demodulation - multiply the chrominance by the outputs of my
numerically controlled oscillator, and low-pass filter. This gives I
and Q.

Where, specifically, do I have to worry most about the precision of the
devices I'm using? Is it that difficult to lock the DPLL to the color
burst? Am I missing some huge concept (it's quite likely)?


I don't see any major holes in your reasoning.

Your reference clock is something to pick with care. 50 MSPS is enough
for video or direct IF processing (presuming IF is band-limited, as in
the case with a tuner's SAW filter output). In your case (M NTSC), a
commonly used I.F. is centered at 44 MHz, with the PIF at 45.75 and SIF
at 41.25.
Zarlink Semi uses a 20.45 MHz reference (multiplied by 2x for DSP),
Micronas uses 18.432 MHz, others use 27 Mhz. Each has advantages and
drawbacks.
If you want to plan ahead for the direct I.F. demod I would suggest
carefully plotting out the sampling components and their aliases. Later
you might want to add PAL, SECAM, ATSC and DVB-T.
It's very important to make sure your sampling reference is low-jitter
(low SSB phase noise oscillator) and that you don't use the FPGA's
internal PLL to multiply it for sampling (DSP clock is ok) but you will
need a FIFO or some way to cross from clean to dirty clocking boundary.
The reason a low phase-noise sampling is important is the chroma domod
is very senitive to errors and this will show up in the video as chroma
noise and color streaking.
One other recommendation: For the filtering, you may eventually want to
consider a combination of other topologies instead of a (symetric) FIR:
1) Group-delay compensated IIR - for video / I.F. filtering: it's more
economical.
2) CIC - differentiator structure followed by a resonator (integrator)
(See Kuc Introduction to Digital Signal Processing)

Forget the easy way - your approach, properly implemented, will yield
the best result.

The hard part is the Audio - are you intending to demodulate BTSC
stereo? I recommend doing the video first.

Regards,

Frank Raffaeli
http://www.aomwireless.com/

.



Relevant Pages

  • Re: Why should I (not) use an internal oscillator for 8-bit micros
    ... > multiple for sampling frequency. ... the two internal UART clocks will drift apart. ... a 2X clock to sample. ... between synchronous communication and asynchornous communication from day 1, ...
    (comp.arch.embedded)
  • Re: The Difference Betweeen 96khz & 192khz
    ... > If you digitize with a sampling rate of 48000, ... > to use a filter which stops all frequencies above ... 192,000 Hz sound any different doing a good job of sampling ... upper sample rate to 192,000 is probably not going to sound ...
    (rec.audio.pro)
  • Re: Envelope Detector using Hilbert Transform
    ... >>> I have working with ultrasound signals from a solid state ... >>> Khz) are digitized through a sampling card and imported into MATLAB, ... >>> implementing it in real time on the DSP processor. ... >>fit for the filter to make the passband ripple small. ...
    (comp.dsp)
  • Re: Comparing matched and Wiener filters
    ... "filter across all time and sample" viewpoint of matched-filtering, ... the output for the sampling points (i.e. correlation, ... You are interested in comparing MF vs Wiener, ... MF does not maximize SNR in the ...
    (comp.dsp)
  • Re: digital lowpass filters and analog RC lowpass
    ... I don't think it is the same as a 2pole filter but am ... > sampling rate with the digital filter and a 40Hz -3dB frequency, ... signals greater than Nyquist to an ADC. ...
    (sci.electronics.design)