13-07-2016, 11:14 AM
(This post was last modified: 13-07-2016, 11:15 AM by ppppenguin.)
In this thread I speculated about generating colour bars using the PLD in the switch panel controller at the Vintage Wireless Museum: http://golbornevintageradio.co.uk/forum/...p?tid=4829&pid=59768#pid59768
The controller is a PLDkit XM2C2 module with Xilinx Coolrunner-II XC2S384FG256. This device has 384 macrocells and is currently just over half full.
http://pldkit.com/xm2c2
So what's needed? I've designed full spec PAL coders in larger Xilinx devices and am very familiar with the methods. But I don't have the luxury of plentiful digits. RGB colour bars are trivial, it's PAL coding that isn't.
Need a better DAC for a start. The crude current setup with 3 bits plus sync isn't going to make composite PAL. A conventiional 8 bit R-2R ladder DAC should do the job. Might need a video opamp to get the level and impedance right. I've got enough pins available on the module so this is no problem.
Then there's the tricky set of questions about quality. Obviously needs to be good enough to line up a colour TV. Should also look adequate on a vectorscope. So the following aspects, which would need more digital resource than I've got, have to be abandoned:
1: Correct subcarrier to H frequency relationship. Many commercially available generators have skimped on this. So fully acceptable.
2: Bruch blanking sequence. A luxury as far as I'm concerened though it doesn't use much resource.
3: Chroma bandwidth shaping. Simple in analogue, far too resource hungry in digits.
Standard digital PAL coder has an adder/accumulator to make subcarrier phase, a pair of lookup tables to make sine and cosine waves, pair of multipliers to modulate U and V. Then there are filters to shape chroma bandwidth, burst gate and PAL switch generation and a matrix to turn RGB into YUV. Multipleirs, matrix, sin/cos tables and filters will blow the budget completely so some trickery needed.
Adder accumulator cut back to the minimum number of bits I can get away with. Don't know little yet. Can't afford modulators so for each bar use an adder to impose the correct phase offset. Then the smallest sine table I can get away with without completely evil looking results. Experiment needed. Big problem is amplitude modulation of the subcarrier. Yes, it's a multiplier which I can't afford so it'll have to be cut back to minimum number of bits. The rest is pretty routine stuff. I think.
At the moment this is just idle musing. i may or may not actually try it.
The controller is a PLDkit XM2C2 module with Xilinx Coolrunner-II XC2S384FG256. This device has 384 macrocells and is currently just over half full.
http://pldkit.com/xm2c2
So what's needed? I've designed full spec PAL coders in larger Xilinx devices and am very familiar with the methods. But I don't have the luxury of plentiful digits. RGB colour bars are trivial, it's PAL coding that isn't.
Need a better DAC for a start. The crude current setup with 3 bits plus sync isn't going to make composite PAL. A conventiional 8 bit R-2R ladder DAC should do the job. Might need a video opamp to get the level and impedance right. I've got enough pins available on the module so this is no problem.
Then there's the tricky set of questions about quality. Obviously needs to be good enough to line up a colour TV. Should also look adequate on a vectorscope. So the following aspects, which would need more digital resource than I've got, have to be abandoned:
1: Correct subcarrier to H frequency relationship. Many commercially available generators have skimped on this. So fully acceptable.
2: Bruch blanking sequence. A luxury as far as I'm concerened though it doesn't use much resource.
3: Chroma bandwidth shaping. Simple in analogue, far too resource hungry in digits.
Standard digital PAL coder has an adder/accumulator to make subcarrier phase, a pair of lookup tables to make sine and cosine waves, pair of multipliers to modulate U and V. Then there are filters to shape chroma bandwidth, burst gate and PAL switch generation and a matrix to turn RGB into YUV. Multipleirs, matrix, sin/cos tables and filters will blow the budget completely so some trickery needed.
Adder accumulator cut back to the minimum number of bits I can get away with. Don't know little yet. Can't afford modulators so for each bar use an adder to impose the correct phase offset. Then the smallest sine table I can get away with without completely evil looking results. Experiment needed. Big problem is amplitude modulation of the subcarrier. Yes, it's a multiplier which I can't afford so it'll have to be cut back to minimum number of bits. The rest is pretty routine stuff. I think.
At the moment this is just idle musing. i may or may not actually try it.
www.borinsky.co.uk Jeffrey Borinsky www.becg.tv







