TELEVISION SIGNAL ENCODER

Abstract: A television signal encoder for luminance and chromi­ nance signals presented in digital form comprises lumi­ nance and chrominance channels in which the blanking and colour burst signals are inserted digitally before the signals are converted to analogue form for modulation and trans­ mission. The luminance signal is presented to a buffer circuit (2) and during the line period the output of the buffer circuit (2) is fed to a DAC (6) via a highway (5) under the control of an enable signal. During the blanking period a ROM (26) ap­ plies a digital version of the blanking level to the highway (5). A ROM (3) is enabled for a short period at the start and finish of the blanking period and is arranged as a variable multiplier to determine the slope of the blanking waveform. The output of the DAC (6) is filtered (8) and it is added to the modulated colour subcarrier signal and the synchronising pulse. The chrominance channel is basically similar to the luminance channel but includes means for demultiplexing the U and V signals and a further ROM for inserting the colour burst amplitude. The U and V signals after filtering are fed to modulators to modulate the colour subcarrier signal.

Description: The invention relates to an arrangement for producing a composite video signal from colour difference and luminance signals which signals are presented to the arrangement in the form of digitally encoded samples at a given clock rate of a clock signal including means for blanking the colour difference and luminance signals and subsequently converting the signal to analogue form. Such an arrangement is disclosed in NEC RESEARCH AND DEVELOPMENT, No. 56, January 1980, pages 130-134, Tokyo, JP; M.INABA et al: "Digital Video Effects". In a conventional encoder the digital colour difference (R-Y and B-Y) signals are demultiplexed and applied to digital to analogue converters (DACs). The outputs of the DACs are combined with the burst gate signal in respective combining circuits whose outputs are fed to the signal inputs of respective modulators. The colour subcarrier signal is fed to a quadrature phase generator to produce two output signals differing in phase from each other by 90 degrees, these output signals being fed to the carrier inputs of the respective modulators. The signal fed to the R-Y modulator is fed via a switchable phase inversion circuit which is switched to invert the phase on alternate lines. The outputs of the modulators are fed to a combining circuit together with the luminance signal which is also converted in a DAC to an analogue signal. The combined signal is subsequently blanked and the synchronising pulse added to produce the composite signal. With this system extreme care has to be taken in the design of the circuits for producing the phase inversion of the colour subcarrier and in accurately blanking the video signal. The circuits usually used for performing both these functions are based on the use of balanced modulators. The phase inversion produced is usually accurate in phase but the amplitude is not so accurately controlled and produces a resultant phase error after encoding. This phase error produces a visible effect on display known as "twitter". Blanking requires a shaping filter and careful design of the blanking modulator to maintain a good blanked state and to remove spikes or out of balance effects during the transitions between the unblanked and blanked states. Consequently these circuits tend to be complicated and expensive to produce. It is to be noted that the foregoing applies, strictly speaking, for the PAL colour television system but that similar difficulties also arise with other systems. It is an object of the invention to provide an arrangement for producing a composite video signal from colour difference and luminance signals presented in digital form which mitigates one or more of the problems in conventional encoders. The invention provides an arrangement for producing a composite video signal from colour difference and luminance signals as described in the opening paragraph characterised in that the blanking means comprises means for causing the transitions from the blanked to unblanked states and vice versa to take place over a plurality of clock periods of said clock signal. By blanking the colour difference and luminance signals before their conversion to analogue signals, the timing of the blanking period can be tied to the sampling frequency of the digital clock. With a sampling frequency of 13.5 MHz there are 864 clock periods during each line period for the 625 line system-I PAL signal and hence the blanking periods can be synchronised with particular pulses within the 864 clock period cycle. In such an arrangement means may be provided for adding a colour burst signal to the blanked colour difference signals before conversion into analogue form. Further, means may be provided for inverting one of the colour difference signals before converting that colour difference signal to analogue form. The means for blanking the colour difference signals may comprise a first read only memory or a first section of a read only memory to which the colour difference signals are applied as an input address; means for applying an enable signal to the read only memory, the enable signal being present for the periods of transition from the unblanked to blanked and the blanked to unblanked states; means for applying further address signals to the read only memory during said transition periods, said read only memory being arranged to produce outputs equal to preset percentages of the colour difference signals, which percentages are determined by the further address signals; and a second read only memory or a second section of the first mentioned read only memory programmed to give an output equal to a digital equivalent of the blanking level, said second read only memory or second section of the first read only memory being enabled between the transition periods from the unblanked to blanked states and the blanked to unblanked states. The means for generating the colour burst signal may comprise a third read only memory or a third section of the first read only memory; an amplitude setting circuit for generating addresses for said third read only memory or third section of the first read only memory; and means for feeding an enable signal to said third read only memory or third section of the first read only memory, the enable signal defining the period. An embodiment of the invention will now be described, by way of example, with reference to the accompanying drawings, in which: Figures 1a, 1b and 1c show in block schematic form an embodiment of the circuit arrangement according to the invention for producing a composite video signal, Figure 2 shows the composite video waveform around the blanking period and signal waveforms at various points within the luminance channel of the arrangement shown in Figure 1, Figure 3 shows waveforms at various points within the chrominance channel in the arrangement shown in Figure 1 when the chrominance clock has a first phase, and Figure 4 shows equivalent waveforms to those shown in Figure 3 when the chrominance clock has an opposite phase. The embodiment shown in Figure 1 includes an 8-bit highway 1 to which inputs of a buffer circuit 2 and address inputs of a read only memory (ROM) 3 are connected. A luminance signal in the form of an 8-bit parallel binary code produced by sampling the luminance signal at a rate of 13.5 MHz is applied via the highway 1 to inputs of the buffer circuit 2 and to address inputs of the ROM 3. An enable signal is applied to the buffer circuit 2 via a line 4 so that the buffer 2 is enabled during the line scan period and disabled during the blanking period. The outputs of the buffer circuit 2 are connected to a highway 5 as also are the inputs of a digital to analogue converter (DAC) 6. The DAC 6 operates under the control of a 13.5 MHz clock signal f s which is fed to a clock input thereof via a delay circuit 7. The delay introduced by this circuit is sufficient to ensure that the information on the highway 5 has settled before the DAC 6 operates on it. The output of the DAC 6 is connected via a low pass filter 8 and a line 9 to a first input of a combining circuit 10. The filter 8 is provided to smooth the output of the DAC 6 and to limit the frequency band of the luminance signal to the value specified in the appropriate systems standard, for example 0 - 5.5 MHz for the system specified in "Specification of Television Standards for 625 line system-I transmissions" published in the United Kingdom jointly by the Independent Television Authority and the British Broadcasting Corporation. The luminance and chrominance signals have to be blanked at the end of each line scan period. The blanking is effected by applying enabling and disabling pulses to the buffer 2, the ROM 3, and a further ROM 26 which all have their outputs connected to the highway 5. The enabling and disabling pulses are generated by means of a shift register 12 and a read only memory (ROM) 17 which are clocked by the 13.5MHz clock signal f s . The signal labelled g) in Figure 2, which is generated elsewhere in the system, marks the start of the blanking period and is applied via a line 11 to the input of the shift register 12. The shift register 12 is clocked by the 13.5 MHz clock signal f s and has four parallel outputs which are fed via four lines 13, 14, 15 and 16 to address inputs of the read only memory (ROM) 17. The signal on line 11 is also fed to a further address input of the ROM 17. Consequently at the start of the blanking period a logic '1' is shifted into the shift register 12 at each clock pulse f s and the sequence of addresses shown in Table I is generated. A first output of the ROM 17 is connected via a line 4 to an enable input of the buffer 2 and to a first input of a latch 25. Second, third and fourth outputs of the ROM 17 are fed via lines 20, 21 and 22 to further inputs of the latch 25 and to address inputs of the ROM 3. A fifth output of the ROM 17 is fed to a fifth input of the latch 25 via a line 23 and also to an address input of the further ROM 26. At the start of the blanking period the buffer 2 is disabled by the signal on line 4 which takes the form shown a waveform g) in Figure 2. The ROM 3 is enabled by the signal on line 20 which takes the form of the signal shown as waveform b) in Figure 2. After four clock pulses the ROM 3 is disabled and the ROM 26 is enabled by the signal on line 23 which takes the form shown as waveform h) in Figure 2. At the end of the blanking period the signal on line 11 goes to a logic '0' and the sequence of addresses shown in Table II is generated. Thus the ROM 26 is disabled, the ROM 3 is again enabled for four periods of the clock f s , and then the buffer 2 is enabled. It should be noted that the signal on line 11 should be arranged to give the desired blanking time T and the precise timing of its rising and falling edges should be chosen to take into account the slopes of the blanking waveform generated by the ROM 17 and the clock pulses f s . The ROM 3 is organised in four sections which are selected by the signals on lines 21 and 22. The first section is programmed such that the output produced by the ROM 3 is equal to 80% of the luminance signal which is represented by the input address which is formed by the signal on the highway 1, the second section is programmed so that the output is 60% of the luminance signal, the third section so that the output is 40% of the luminance signal and the fourth section so that the output is 20% of the luminance signal. By selecting each of the sections in turn a desired slope for the transitions of the blanking waveform can be achieved. It should be noted that the percentage figures given are by way of example and that the slope of the transitions may be modified by adopting a different percentage value from that specified in this example for one or more of the sections of the ROM 3. The output of the ROM 3 is fed via the highway 5 to the input of the DAC 6. The blanking level is determined by the ROM 26 and during the period when the signal on line 23 is high a digital output is fed to the DAC 6 which defines the specified blanking level. The chrominance channel is shown in Figure 1b, and includes a 8-bit highway 101 which receives two time division multiplexed colour difference signals (B-Y) and (R-Y) in the form of sampled 8-bit digital signals. The sampling rate for the (B-Y) and (R-Y) signals is 6.75MHz giving a data rate of 13.5MHz. This signal is applied to a buffer circuit 102 and to address inputs of a read only memory 103. The buffer circuit 102 is enabled during the line scan periods by a signal on a line 104 which is essentially the same as the signal on line 4 but is clocked by the chrominance clock (f u ,f v )rather than the luminance clock (f s ). The signal on line 104 is derived from a first output of the latch 25. The outputs of the buffer 102 are applied to a highway 105 and are demultiplexed by means of two latches 131 and 132 which have their inputs connected to the highway 105. The latches are controlled by the chrominance clock having a first phase f u and a second phase f v . The outputs of the latches 131 and 132 are fed to two digital to analogue converters 133 and 134 respectively, via respective data highways 135 and 136. The DACs 133 and 134 convert the signals at the outputs of the latches 131 and 132, respectively, to analogue signals and feed these analogue signals via respective low pass filters 139 and 140 to respective modulators 141 and 142. At the start of the blanking period the buffer 102 is disabled and the ROM 103 enabled for a period of four clock pulses f s in a similar manner to that described for the luminance channel. The ROM 103 is organised in four sections as is the ROM 3. However the signals on lines 121 and 122 show significant differences from those on lines 21 and 22; the reason for this is that the (R-Y) and (B-Y) signals should be attenuated by the same factor and hence during the four clock periods that the ROM 103 is enabled only two levels of output signals are required. This is achieved by clocking the latch 25 with the chrominance clock f u rather than with the luminance clock f s . (consequently the signals shown as waveforms f) and j) in Figure 3 or in Figure 4 are produced on lines 121 and 122. This means that, the output of the ROM 103 will produce 80% and 40% of the chrominance signal or 60% and 20% of the chrominance signal dependent on which phase of the clock signal f u coincides with the start of the blanking period but that both the (R-Y) and (B-Y) signals will be attenuated by the same amount. At the end of four f s clock periods the ROM 103 is disabled and an enable signal derived from an output of the latch 25 appears on line 123. This enable signal is fed to one input of an AND-gate 150 whose output is fed to the enable input of a ROM 126. The ROM 126 which may be part of the ROM 103 produces the blanking level for the chrominance signal. During the period t₄ shown in Figure 2a it is necessary to produce a burst of colour subcarrier. In order to achieve this object a signal on a line 151 is applied to the enable input of a ROM 152 which also may be part of the ROM 103. The signal on line 151 is also fed to a second input of the AND-gate 150 via an inverter 153. Thus, during the colour burst period the ROM 126 is disabled and the ROM 152 enabled. To determine the amplitude of the colour subcarrier burst an amplitude determining circuit 154 is connected via a highway 155 to address inputs of the ROM 152 the output of the ROM 152 being fed to the highway 105. The amplitude setting circuit 154 may be formed as a series of switches which will generate a predetermined digital code to adjust the required burst amplitude. When coding these signals into the PAL system the the inversion could be achieved by means of corresponding logic circuitry arranged before a conventional digital to analogue converter or by the circuit described in GB-A- 2087 608 (GO6∓ 7/544) The filters 139 and 140 smooth the outputs of the DACs 133 and 144, respectively, and restrict the bandwidth of the analogue colour difference signals to the values prescribed in the appropriate standards for television broadcast signals. The output of filter 139 is fed via a line 143 to the first input of a first modulator 141 while the output of the filter 140 is fed via line 144 to the first input of a second modulator 142. A colour subcarrier signal is fed via a line 161 to second inputs of the modulators 141 and 142 via respective phase shifting circuits 162 and 163. The phase shifting networks 162 and 163 are arranged so that the colour subcarrier signal fed to the modulator 141 is advanced in phase by 90° with respect to the colour subcarrier signal fed to modulator 142. In this case the phase shifter 162 advances the phase of the colour subcarrier signal by 45° while the phase shifter 163 retards the phase of the colour subcarrier signal by 45°. The outputs of the modulators 141 and 142 are fed via lines 164 and 165 to second and third inputs of the combining circuit 10. A synchronising pulse generated elsewhere is applied via a line 166 to a synchronising pulse shaper 167 and thence to an amplitude adjusting circuit 168. The output of the circuit 168 is fed to a fourth input of the circuit 10. In response to the four input signals the combining circuit 10 in which the four signals are added produces an output of the form shown by the solid line in Figure 2a. The specification for television signals referred to above gives the following figures for the times t₁ to t₆: It can be derived that with a clock rate of 13.5MHz the periods t₁ and t₆ can be achieved by causing the blanking pulse to rise and fall over a period equal to 4 clock pulses and if the clock rate is precisely 13.5MHz could also be achieved by causing the blanking pulse to rise and fall over a period equal to 3 or 5 clock pulses. For other specified rise and fall times or clock frequencies the number of clock periods may be appropriately increased or decreased. Similarly it can be shown that the colour burst period t₅ may be 20 clock periods long and start 76 clock periods after the start of the blanking period. As can be seen from Figure 1 the synchronising pulse is added as an analogue signal after the chrominance components has been converted to analogue signals and modulated onto the colour subcarrier. In Figure 2 the waveform b represents the signal applied on line 20 to the ROM 3 to enable the ROM 3. Waveforms c, d, e and f are decoded versions of the signals applied on lines 21 and 22 to the ROM 3, the ROM 3 containing a decoder to enable the four sections to be selected by means of two input lines. The waveform g is the enable signal for the buffer 2 which is fed on line 4. Waveform h is the enable signal for the ROM 26 on line 23 and waveform j is the colour burst gate signal which is fed to the ROM 152 in the chrominance channel via the line 151. The colour burst gate signal is generated elsewhere in the system. Waveform a in Figures 3 and 4 is the 6.75MHz chrominance clock, waveform b represents the luminance data at 13.5MHz repetition rate, and waveform c shows the multiplexed (R-Y) and (B-Y) chrominance signals at the 13.5MHz data rate, the (R-Y) and (B-Y) signals each being at the rate 6.75MHz. Waveforms d and e in Figures 3 and 4 are equivalent to the waveforms c and d in Figure 2, wavefom f shows the signal on line 121 and as can be seen the rising edge of waveform f in Figure 3 corresponds with the rising edge of waveform d in Figure 3 whereas in Figure 4 the rising edge of waveform f corresponds with the rising edge of waveform e. When the rising edge of the chrominance clock coincides with the (B-Y) signal the waveforms illustrated in Figure 3 are generated, thus the rising edge of the waveform f coincides with the start of the period t₁. If, however, the rising edge of the chrominance clock coincides with the (R-Y) data then the rising edge of the waveform f will be delayed by 1 period of the 13.5MHz clock. As can be seen from Figs 3 and 4 the pulse in waveform f lasts for two periods of the 13.5MHz clock so that both the (R-Y) and (B-Y) data signals address the same section of the ROM 103. Consequently both the (R-Y) and (B-Y) signals are multipled by the same percentage. Similarly waveforms g and h in Figures 3 and 4 correspond to waveforms e and f in Figure 2 and the rising edge of waveform j coincides with either the rising edge of waveform g or waveform h depending on the phase of the chrominance clock. The arrangement described with reference to Figures 1 to 4 is suitable for producing from colour difference and luminance signals presented in digital form a composite video signal encoded according to the PAL system. In order to encode the composite video signal according to the NTSC or SECAM systems the arrangement may be modified in the following manner. In the NTSC system there is no inversion of the R-Y signal and hence the facility for inverting the R-Y signal is not required. Consequently the line 160 conveying the PAL switch signal to the DAC 134 can be dispensed with and the DAC 134 does not need to be capable of inverting the signal on highway 136. In the SECAM system the colour difference signals are interleaved and each colour difference signal transmitted on alternate lines, i.e. on line N the R-Y signal is used and on line N+1 the B-Y signal is used. The chrominance channel shown in Figure 1B can be modified by deleting the latch 132, DAC 134 and filter 140 and gating the clock signal f u to the latch 131 with a pulse which is at a logical '0' for line N and a logical '1' for line N+1. This pulse which is called hereinafter the Alternate Line Pulse is combined with the clock signal f u in an exclusive OR gate so that during line N the latch 131 reads the B-Y signal from the highway 105 and during line N+1 the latch 131 reads the R-Y signal from the highway 105. Thus during line N only the B-Y signals are read from the highway 105 and these are fed to a conventional SECAM modulator. Similarly during line N+1 only the R-Y signals are read from the highway 105 and these are fed to the SECAM modulator during line N+1. The modulator may, for example, take the form of that disclosed in GB-A- 1554240, the input changeover switch shown in that specification being deleted as the line sequential signal is generated by the clock pulses applied to the latch 131.

Claims: An arrangement for producing a composite video signal from colour difference and luminance signals which signals are presented to the arrangement in the form of digitally encoded samples at a given clock rate of a clock signal including means for blanking the colour difference and luminance signals and subsequently converting the signal to analogue form, characterised in that the blanking means comprises means for causing the transitions from the blanked to unblanked state and vice versa to extend over a plurality of clock periods of said clock signal. An arrangement as claimed in Claim 1, characterised by means for adding a colour burst signal to the blanked colour difference signals before conversion into analogue form. An arrangement as claimed in Claim 1 or 2, characterised by means for inverting one of the colour difference signals before converting that colour difference signal to analogue form. An arrangement as claimed in any of Claims 1 to 3, characterised in that the means for blanking the colour difference signals comprises a first read only memory (103) or a first section of a read only memory to which the colour difference signals are applied as an input address; means for applying an enable signal (120,121,122) to the read only memory (103), the enable signal being present for the periods of transition from the unblanked to blanked and the blanked to unblanked states; means for applying further address signals (120,121,122) to the read only memory (103) during said transition periods, said read only memory (103) being arranged to produce outputs equal to preset percentages of the colour difference signals which percentages are determined by the further address signals; and a second read only memory (126) or a second section of the first mentioned read only memory programmed to give an output equal to a digital equivalent of the blanking level, said second read only memory (126) or second section of the first read only memory being enabled between the transition periods from the unblanked or blanked states and the blanked or unblanked states. An arrangement as claimed in Claim 4 when dependent on Claim 2, characterised in that the means for generating the colour burst signal comprises a third read only memory (152) or a third section of the first read only memory; an amplitude setting circuit (154) for generating addresses for said third read only memory (152) or third section of the first read only memory; and means for feeding an enable signal (151) to said third read only memory, the enable signal defining the period of the colour burst signal.

Inventors: MACKERETH, THOMAS COLIN
Applicants: N.V. PHILIPS' GLOEILAMPENFABRIEKEN, PHILIPS ELECTRONICS UK LIMITED
Application year: 1983
Main classification: H04N9
IPC codes: H04N9, H04N5