METHOD OF DECODING AN ENCODED VIDEO SIGNAL AND A RECEIVING APPARATUS FOR DECODING THE SIGNAL

Abstract: A video signal is encoded prior to broadcasting by invert­ ing portions of the signal about an encoding axis at a pre­ determined reference level. To enable the reference level to be determined accurately after the received signal has been re­ corded and played back using a VTR having a noise reduction circuit, two identification signals having the same level are in­ cluded in two consecutive horizontal periods of the signal, respectively. The level of the identification signal in the second horizontal period is unaffected by the noise reduction circuit. A decoding circuit detects the level of that identification signal and uses it to generate a decoding axis having the reference level. The decoding circuit at the receiver is thus able to accura­ tely restore the encoded signal by reinverting the inverted por­ tions about a decoding axis having the same level as the en­ coding axis.

Description: The present invention relates to an encoded video signal and, more particularly, to a method for broadcasting an encoded video signal and to receiving apparatus for decoding the video signal. A video signal can be encoded before broadcasting to prevent the use of the video signal unless the coding technique is known. Certain "pay-TV" systems are based on the payment of a fee for a device that is programmed for the particular coding technique being used so that the received signal can be used to generate a television picture. Those systems have encountered a problem when the coded video signal is recorded by the subscriber using a video tape recorder (VTR). VTR's normally have noise reduction circuits to mask noise in the signal when it is played back. Unfortunately, noise reduction circuits can also mask information in the broadcast signal which is necessary for decoding the signal. Thus, when the recorded, encoded signal is played back through the receiver apparatus, it often will not be properly decoded. US-A-4257065 discloses a decoding method according to the precharacterising part of claim 1. In this prior art, the decoding axis is based upon the difference between first and second reference pedestals. The present invention seeks to avoid using this difference as the basis of production of the decoding axis. According to the present invention, there is provided a method of decoding a broadcast encoded video signal that includes a portion that is scrambled with reference to an encoding axis that is at a predetermined reference level prior to broadcasting the signal, and first and second identification signals in consecutive horizontal periods of the video signal at substantially the same identification level in both of the consecutive periods, with the identification level having a predetermined value relative to the reference level that can be adversely affected by noise reduction circuitry, the decoding method being characterised by the steps of: detecting the identification level of the second identification signal; and generating a decoding axis at the reference level in response to the detected identification level of the second identification signal. The invention also provides apparatus for decoding a broadcast encoded video signal according to the method of claim 1 by employing a pulse separating circuit that separates the horizontal and vertical synchronising signals and a decoder that decodes the scrambled signal with reference to an encoding axis that is at a predetermined reference level prior to broadcasting the signal, characterised in that, in use, a sampling pulse generator receives the separated horizontal sync signal from the separating circuit and provides a sampling pulse for each horizontal interval containing the second identification signal and feeds the sampling pulse to a sampling circuit to sample the level of the second identification signal and produces an output signal at the identification level Vm that is fed to the decoder. In accordance with an aspect of the present invention, an encoded video signal can be broadcast with a scrambled portion encoded prior to broadcasting using an encoding axis at a predetermined reference level and first and second identification signals in consecutive horizontal periods of the video signal at substantially the same identification level in both of the periods. The reference level and identification level have a predetermined relationship. The signal is decoded at a receiving apparatus by detecting the level of the second identification signal and generating in response to that level a decoding axis at the reference level which was used to encode the signal. Further features and advantages of the present invention will become apparent when considering the detailed description set out below. Figure 1A illustrates a portion of an uncoded video signal to be broadcast. Figure 1B illustrates the video signal in figure 1A after it has been encoded using a scrambling technique in which the signal portion is inverted about an encoding axis at a predetermined reference level. FIG. 2A illustrates the scrambled video signal shown in FIG. 1B as received and as properly unscrambled. FIG. 2B illustrates the encoded video signal shown in FIG. 1B as received and as improperly unscrambled because of an error in the reference level generated by the receiving apparatus. FIG. 3 illustrates a portion of a video signal which includes an identification signal used by the receiving apparatus to determine the reference level. FIG. 4 schematically illustrates a noise reduction circuit used in prior art VTR's. FIGS. 5A-5E depict the waveforms of the signals at various points in the noise reduction circuit shown in FIG. 4. FIGS. 6A-6E depict the waveforms of the signals at the same points in the noise reduction circuit shown in FIG. 4 using the video signal of the present invention. FIG. 7 schematically illustrates a video signal receiving apparatus for decoding a video signal in accordance with the present invention. The present invention can best be understood by first having an understanding of video signal encoding techniques and how prior art VTR noise reduction circuits interfere with the proper functioning of those techniques. FIG. 1A shows a portion of an original video signal. The portion depicted includes a horizontal synchronizing pulse SYNC and a video information portion S v immediately following the SYNC pulse, which together form a horizontal scanning period of the video signal. The end of that horizontal period is defined by another horizontal synchronizing pulse, SYNC, which begins the next horizontal scanning period of the signal. FIG. 1B illustrates the same video signal encoded prior to being broadcast. The signal portion S v is scrambled by inverting it about an encoding axis M e at a predetermined reference level V m to provide the scrambled portion of the video signal S vs shown in FIG. 1B. The reference level V m is chosen relative to the pedestal level of the signal immediately proceding or following the SYNC pulse. The SYNC pulses are not inverted because to do so would make the restoration of the signal unnecessarily complicated. The entire video signal includes non-inverted portions arranged in a predetermined pattern with inverted portions. "Key codes" and other information (not shown) are also included in the signal for use by the receiver to detect the encoding technique, thus enabling the signal to be unscrambled. Generally, the scrambled portions will include inverted and non-inverted vertical intervals of the signal arranged in a pattern that is detectable at the receiver by using the coding information. To restore the inverted portions of the signal being received, the receiver provides a decoding axis M d at the reference level V m and inverts the received signal S vs back to its original form S v , as shown in FIG. 2A. However, errors in setting the reference level at the receiver can occur. For example, electronic components in the receiver may have characteristics that cannot be precisely controlled, for example, because of ambient temperature fluctuations. In that case the reference level V m can be off by an amount such as ▵V m shown in FIG. 2B, resulting in an erroneously unscrambled signal. In other words, the decoding axis is set at V me instead of V m , and inversion about that axis results in the signal S v ' instead of the correct signal S v shown in the dash line in FIG. 2B. To overcome that problem indentification information is used in the signal. The vertical blanking interval of the video signal portion depicted in FIG. 3 has an identifi- cation signal ID included in the sixteenth horizontal period. The scrambled portion S vs of the signal is also shown in FIG. 3. The identification signal ID is broadcast at a predetermined identification level V m ' above the pedestal level of the signal. The identification level V m ' has a known value relative to the reference level V m (in FIG. 3 they are the same). Since the identification level V m ' will change under the same influences as the reference level V m , and the identification level is detectable at the receiver by sampling the identification signal ID, the reference level V m can be accurately set regardless of conditions at the receiver. FIG. 4 shows a prior art noise reduction circuit used in conventional VTR's. The noise reduction circuit accepts the video signal Y and provides it to a main circuit path and to a parallel circuit path which includes a delay circuit 1. The delay circuit 1 accepts the main signal a and provides it as a delayed signal b delayed by the time of one horizontal scanning period 1H. The delayed signal b is subtracted from the main signal a by a subtracting circuit 2 in the parallel circuit path. The level of the signal appearing at the output of the subtracting circuit 2 is divided in half by a dividing circuit 3 to produce the divided signal c . The divided signal c passes through a limiter 4 in the parallel circuit path to clip the portion of the divided signal c above a certain level and provide a clipped signal d . The clipped signal d is subtracted from the main signal a by a subtracting circuit 5 in the main circuit path to provide the output signal e , which is a modified signal Y' having less noise than the main signal a . FIGS. 5A-5E illustrate how the noise reduction circuit shown in FIG. 4 operates. The letter suffixes used to identify FIGS. 5A-5E correspond to the signals a through e discussed in connection with FIG. 4. Part of the vertical blanking portion of the received video signal after demodulation is shown in FIG. 5A. It includes the identification signal ID in the sixteenth horizontal period. A noise component N is shown superimposed on the signal. After passing through the delay circuit the delayed signal b shown in FIG. 5B has an orientation relative to the main signal a as shown by comparing FIGS. 5A and 5B. After subtraction and division in the circuits 2 and 3, the divided signal c appears as shown in FIG. 5C. The limiter 4 clips the signal c at the level V e and the clipped signal d has the waveform shown in FIG. 5D. When the clipped signal d is subtracted from the main signal a , the output signal e , as shown in FIG. 5E, results. The noise component N is significantly reduced in all portions of the signal except in the identification signal ID. But the presence and timing of the identification signal ID remains recoverable even when combined with the noise component, so that for those purposes it is not critical that the identification signal be subject to noise reduction. The operation of the noise reduction circuit is best understood mathematically. The signal a can be expressed: Y a = S + N (1) The delayed signal b , then is: Y b = S D + N D (2) And the divided signal c is equation (1) subtracted from equation (2) and divided by two: Y c = Y a - Y b = ½ [(S - S D ) + (N - N D )] (3) Other than at the identification portion ID, S = S D , so that Y c = ½ (N - N D ) (4) At the portions of the signal represented by equation (4), the limiter circuit 4 has no effect if the clipping level V e is greater than the largest noise component. Thus, Y d = Y c for those portions. Then, when Y d is subtracted from Y a by the subtracting circuit 5, the output signal e , or Y', is: Y' = Y e = S + N - ½(N - N D ), or (5) Y' = S + ½N + ½N D (6) Although it would appear from equation (6) that there has been no reduction in the noise level of the signal, the effect of the noise component changes as the square of the noise level. Thus, if the total noise in equation (6) is expressed: N T = ½N + ½N D (7) then the effect of each component on the signal Y' can be expressed as ¼N² + ¼N D ², or, if N is assumed to be approximately equal to N D , then the effect of the noise component is ½N². Thus, the modified, reduced-noise signal Y' effectively has only half as much noise at all portions other than at the identification signal ID. There, the signal still has the same amount of noise since the noise component was removed by the limiter 4. In any case, the effect of the noise reduction circuit on the identification level V m ' is depicted in FIG. 5E. Instead of V m ' having the known, predetermined relation to the reference level V m , V m ' is now changed by the amount V e . Thus, V m ' no longer can be used to derive the reference level V m for generating the decoding axis to decode the signal. The video signal of the present invention uses an identification signal ID having substantially the same level in two consecutive horizontal periods, as shown in FIG. 6. As depicted in FIG. 6A, the broadcast and received signal has a first identification signal ID₁ in the 15th horizontal period and a second identification signal ID₂ in the 16th horizontal period of a vertical blanking interval. The letter suffixes in FIGS. 6A-6E correspond with the signals a through e as discussed in connection with FIGS. 4 and 5A-5E. After passing through the delay circuit 1, the signal has the waveform shown in FIG. 6B. As shown in FIGS. 6C and 6D, the divided signal c and the clipped signal d have a 16th horizontal period (relative to the main signal a ) which is at the same level as that obtained when two periods without identification signals are subtracted in the subtracting circuit 2. In other words, the portion of the clipped signal d corresponding to the 16th horizontal scanning period of the main signal a is zero. Therefore, the level of the identification signal ID₂, which was V m ' when received, is still V m ' after the signal passes through the noise reduction circuit, as seen in FIG. 6E. The decoding axis can thus be accurately set at the reference level V m even though the signal has been subject to noise reduction. Of course, if key codes were included in other consecutive horizontal periods, they could also be recovered unchanged by the noise reduction circuit. FIG. 7 schematically illustrates a video signal receiving apparatus which includes a decoding circuit 10 for unscrambling the signal depicted in FIG. 6E. A VTR 11 receives a broadcast signal from an antenna 12. The received signal is provided to a tuner 13 and from the tuner 13 to a detector 14. The detector 14 provides a signal to a recording circuit 15 which, in the conventional manner, frequency modulates the luminance portion of the composite video signal and converts the chrominance portion to a lower frequency. The signal from the recording circuit 15 is supplied to the record terminal REC of a switch 16. When the switch 16 provides a circuit path through the terminal REC, the received signal is supplied to a magnetic head 17 for recording on the tape 18. When the recorded signal is reproduced, the switch 16 provides a circuit path through a playback terminal P B . The reproduced signal is supplied to a reproducing circuit 19 that demodulates the luminance portion and converts the chrominance portion to the original higher frequency. The reproduced signal is supplied to a VTR output terminal 20. The decoding circuit 10 has an input terminal 21 that accepts the composite video signal. The composite signal is supplied to a clamping circuit 22, a pulse separating circuit 23 and a key code detector 24. The output of the pulse separating circuit 23 is supplied to a sampling pulse generator 25. The sampling pulse therefrom is fed to a sampling circuit 26, which also accepts the output of the clamping circuit 22. A decoding axis generator 27 accepts the output of the sampling circuit 26 and provides a signal to an inverting circuit 28. The inverting circuit 28 accepts the output of the clamping circuit 22 and, using the output of the decoding axis generator 27, inverts the output of the clamping circuit 22 about the decoding axis. The output of the key code detector 24 is supplied to a switching circuit 29, the output of which is fed to a switch 30. The switching circuit 29 controls the switch 30 in response to the key code supplied by the key code detector 24 and the output of the sampling circuit 26. The switch 30 comprises two fixed terminals t a and t b and a movable terminal t c . When the Switch 30, as controlled by the switching circuit 29, provides a circuit path between the terminals t a and t c , the composite signal, as reproduced, is provided directly to the terminal tc. When the circuit 29 provides a circuit path between the terminals t b and t c , the output of the inverting circuit 28 is supplied to the terminal t c . A buffer amplifier 31 accepts the signal at the terminal t c and provides an output to the output terminal 32 of the decoding circuit 10. The signal at the output terminal 32 is used to generate a television picture by conventional means. The decoding circuit 10 operates as follows. The clamping circuit 22 clamps the pedestal level of the composite signal from the reproducing circuit 19. The horizontal and vertical synchronizing pulses in the video signal are extracted by the pulse separating circuit 23. The sampling pulse generator 25 uses the horizontal and vertical synchronizing pulses provided by the pulse generating circuit 23 to provide a sampling pulse for each horizontal interval containing the second identification signal ID₂, the identification level V m ' of which, it will be recalled, was unaffected by the noise reduction circuit. In any particular encoding system the horizontal interval to be sampled is known, and the sampling pulse generator 25 provides a pulse for sampling that interval. The sampling circuit 26 uses that sampling pulse to sample the proper portion of the level of the video signal from the clamping circuit 22. Thus, the level which is sampled is that of the second identification signal ID₂ and the output of the sampling circuit 26 is at the identification level V m '. The output of the pulse separating circuit 23 is also supplied to the key code detector 24. The key code detector 24 uses the output of the pulse separating circuit 23 to locate the key code in the video signal from the VTR and supply to the switching circuit 29 a code signal in response to the key code. The switching circuit 29 also accepts the identification signal ID₂, which functions as a timing signal for the switching circuit 29. The switching circuit 29 uses the identification signal and the key code to provide a switching signal at the proper times depending on the horizontal intervals where the signal was inverted. The identification level V m ' is used by the decoding axis generator 27 to generate the reference level V m about which the broadcast signal was inverted. The signal from the clamping circuit 22 is inverted about that decoding axis before being supplied to the switch terminal t b . The switch 30, as controlled by the switching circuit 29, provides a circuit path for the restored video signal from the inverting circuit 28 at the horizontal periods in which the video signal was inverted. Otherwise, the switch 30 provides a circuit path in which the video signal is supplied directly to the buffer amplifier 31 from the clamping circuit 22. Thus, the signal supplied to the output terminal 32 of the decoder 10 is identical to the original signal that was scrambled prior to broadcasting. Those skilled in the art will recognize that the decoding circuit 10 can be by-passed so that the output of the reproducing circuit 19 is used directly to generate a televison picture if the recorded signal was not encoded on broadcasting. In fact, the decoding circuit 10 can be automatically included and excluded from the receiver by using the existence or absence of the identification signal ID as an indication that the recorded signal was encoded. If an identification signal is present, the video signal is supplied to the terminal 21. If not, it is supplied directly to the means for generating the television picture. Thus, the video signal and the decoding apparatus of the present invention enable proper decoding of a recorded, video signal when it is played back, even when a noise reduction circuit is used in the recording apparatus. Although specific embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope of the invention as defined in the appended claims.

Claims: A method of decoding a broadcast encoded video signal that includes a portion that is scrambled with reference to an encoding axis (Me) that is at a predetermined reference level prior to broadcasting the signal, and first and second identification signals (ID1, ID2) in consecutive horizontal periods of the video signal at substantially the same identification level in both of the consecutive periods, with the identification level having a predetermined value relative to the reference level that can be adversely affected by noise reduction circuitry, the decoding method being characterised by the steps of: detecting the identification level of the second identification signal (ID2); and generating a decoding axis (Me) at the reference level in response to the detected identification level of the second identification signal. Apparatus for decoding a broadcast encoded video signal according to the method of claim 1 by employing a pulse separating circuit (23) that separates the horizontal and vertical synchronising signals and a decoder (10) that decodes the scrambled signal with reference to an encoding axis (Me) that is at a predetermined reference level prior to broadcasting the signal, characterised in that, in use, a sampling pulse generator (25) receives the separated horizontal sync signal from the separating circuit (23) and provides a sampling pulse for each horizontal interval containing the second identification signal (ID2) and feeds the sampling pulse to a sampling circuit (26) to sample the level of the second identification signal and produces an output signal at the identification level Vm that is fed to the decoder (24, 28, 29, 30). Apparatus according to claim 2 for decoding a video signal that incudes coding information indicating the location of the scrambled portion of the signal; further characterised in that the apparatus includes an input (21) for receiving the encoded signal and an output (32) for supplying the decoded video signal and said decoding means (24, 28, 29, 30) includes switch means (30) for selectively providing one of two circuit paths (t a , t c ; t b , t c ) therethrough, one of said circuit paths (t a , t c ) passing the video signal received at the input of the apparatus (10) to the output (32) thereof and the other said circuit path (t b , t c ) providing said decoded video signal portion to the output (32) of the apparatus (10); and code detector means (24, 29) responsive to the coding information in the video signal for providing a code signal indicating the location in the video signal of the scrambled portions thereof, said code detector means including switch controlling means (29) responsive to said code signal for supplying a switching signal to said switch means (30) to provide said first circuit path for the unscrambled portions of the video signal and said second circuit path for the scrambled portions of the video signal. Apparatus as in claim 2 or 3 further characterised in that said identification signal detecting means (23, 25, 26) includes pulse generating means (23, 25) responsive to the video signal received by the apparatus (10) for generating a sampling pulse indicating the location in the video signal of the second identification signal (ID2); and sampling said second horizontal period to determine said identification level (V'm). Apparatus as in claim 4, further characterised in that said pulse generating means (23, 25) includes pulse separating means (23) for accepting the video signal and separating therefrom horizontal and vertical synchronising pulses; and sampling pulse generating means (25) responsive to the horizontal and vertical synchronising pulses for generating said sampling pulse. Apparatus as in claim 4 or 5 further characterised in that the video signal is encoded by inverting portions thereof to provide the scrambled portion of the signal; said decoding axis generating means (27) is responsive to said sampling circuit means (26) for generating a decoding axis (Md) at said reference level (Vm); and said decoding means (24, 28, 29, 30) includes an inverting circuit (28) for inverting the video signal received by the apparatus (10) about said decoding axis (Md). Apparatus as in claim 6 for decoding a video signal that includes coding information indicating the location of the scrambled portion of the signal; further characterised in that the apparatus (10) includes an input (21) for receiving the encoded video signal and an output (32) for supplying the decoded video signal and said decoding means further includes switch means (30) for selectively providing one of two circuit paths (t a , t c ; t b , t c ) therethrough, one of said circuit paths (t a , t c ) passing the video signal received at the input (21) of the apparatus (10) to the output (32) thereof and the other said circuit path (t a , t b ) providing said decoded video signal portion from said inverting circuit (28) to the output (32) of the apparatus (10); and code detector means (24, 29) responsive to the coding information in the video signal for providing a code signal indicating the location in the video signal of the scrambled portions thereof, said code detector means including switch controlling means (29) responsive to said code signal for supplying a switching signal to said switch means (30) to provide said first circuit path for the unscrambled portions of the video signal and said second circuit path for the inverted portions of the video signal. Apparatus as in claim 7, further characterised in that the scrambled portion of the video signal includes a plurality of inverted horizontal periods arranged in a predetermined coding pattern; and said switch controlling means (29) provides a switching signal in response to said code signal and the output of said sampling circuit means (26). Apparatus as in claim 8, further characterised in that the video signal is encoded by inverting a plurality of vertical intervals thereof in a predetermined pattern.

Inventors: OHMORI, SHOJI
Applicants: SONY CORPORATION
Application year: 1984
Main classification: H04N7
IPC codes: H04N7, H04N5, H04K1