JPH0652947B2 - Descrambler - Google Patents

Descrambler

Info

Publication number
JPH0652947B2
JPH0652947B2 JP60090932A JP9093285A JPH0652947B2 JP H0652947 B2 JPH0652947 B2 JP H0652947B2 JP 60090932 A JP60090932 A JP 60090932A JP 9093285 A JP9093285 A JP 9093285A JP H0652947 B2 JPH0652947 B2 JP H0652947B2
Authority
JP
Japan
Prior art keywords
signal
digital
address
horizontal
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60090932A
Other languages
Japanese (ja)
Other versions
JPS61251286A (en
Inventor
進 小松
幸則 工藤
正樹 中河
直樹 河合
武史 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Japan Broadcasting Corp
Original Assignee
Toshiba Corp
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Japan Broadcasting Corp filed Critical Toshiba Corp
Priority to JP60090932A priority Critical patent/JPH0652947B2/en
Publication of JPS61251286A publication Critical patent/JPS61251286A/en
Publication of JPH0652947B2 publication Critical patent/JPH0652947B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、スクランブル(暗号化)されたテレビジョン
信号の供給を受け、これをデスクランブル(復号化)す
る機能を備えたデスクランブル装置に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a descramble apparatus having a function of receiving a scrambled (encrypted) television signal and descrambled (decrypted) the television signal.

〔発明の技術的背景〕[Technical background of the invention]

近年、テレビジョン信号の伝送形態のひとつとして、ス
クランブル伝送が注目を集めている。これは特定者以外
の盗視聴防止を図って、テレビジョン信号を変形して伝
送するもので、受信側は復号のための特別のデスクラン
ブル装置を用意することにより初めて正常な画像を得る
ことができる。
In recent years, scramble transmission has attracted attention as one of the transmission modes of television signals. This is to prevent unauthorized viewing by anyone other than the specified person and transform and transmit the television signal. The receiving side can obtain a normal image only by preparing a special descrambler for decoding. it can.

テレビジョン信号のスクランブル方式は種々提案されて
いるが、以下にそのうちの一方式であるライン内ローテ
ーション方式について説明する。ライン内ローテーショ
ン方式は送信側において第9図(a)に示すようなNTS
Cビデオ信号91の映像期間pを任意点で2分割して入れ
換えると共に、水平同期部分92に絶対番地を与えるデジ
タル同期信号93を付加し、第9図(b)の形式に変形しス
クランブル信号96として送出する。このとき分割点の情
報は別系統、例えば音声データと共に送出される。ここ
で分割点の番地xは映像期間を108等分した108個のブロ
ック単位で与えられる。映像期間pの入れ換えは上部分
割点xで行われるのであるが、受信側で復号化する再の
重ね合せのため、番地x-1、およびxのブロックをのり
しろ94,95として新たに用意し、のりしろ94を番地xの
前に、またのりしろ95を番地x−1の後にそれぞれ付加
する。上記スクランブルビデオ信号を受信側でデジタル
化して処理する際には通常4scsc:カラーサブキ
ャリア周波数)でサンプリングを行う。したがって、第
10図(a)に示すように1水平期間はサンプル点により910
等分されることになる。絶対番地はこのサンプル点に対
応しており、よってブロック単位の番地xは、140番
地、147番地、…、903番地、910番地等の7番地毎の値
をとることになる。
Although various scrambling methods for television signals have been proposed, one of the methods will be described below as an intra-line rotation method. The in-line rotation method is based on the NTS on the transmitting side as shown in Fig. 9 (a).
The video period p of the C video signal 91 is divided into two at arbitrary points and replaced, and a digital sync signal 93 giving an absolute address to the horizontal sync portion 92 is added, and the scramble signal 96 is transformed into the format shown in FIG. 9 (b). As. At this time, the information on the division points is transmitted together with another system, for example, audio data. Here, the address x of the division point is given in units of 108 blocks obtained by dividing the video period into 108 equal parts. The video period p is exchanged at the upper division point x, but blocks for address x-1 and x are newly prepared as margins 94 and 95 for re-decoding to be performed by the receiving side. A margin 94 is added before the address x, and a margin 95 is added after the address x-1. When the scrambled video signal is digitized and processed on the receiving side, sampling is usually performed at 4 sc ( sc : color subcarrier frequency). Therefore, the
As shown in Fig. 10 (a), one horizontal period is 910 depending on sample points.
It will be divided into equal parts. The absolute address corresponds to this sample point, so that the address x in block units takes a value for every 7th address such as 140th address, 147th address, ..., 903th address, 910th address.

第10図(b)は水平同期部分92に付加されたデジタル同期
信号93の拡大図である。デジタル同期信号93は19番地か
ら64番地内に挿入されており、その周波数は4/5sc
あり、7サイクルを有している。上記番地xはこのデジ
タル同期信号93を基準として把握されるため、受信側で
デジタル同期信号93の番地を正確に検出すれば、音声信
号と共に送られてくる分割点番地xから読み取られる復
号点番地y(第9図(b)参照)も正確に知ることがで
き、スクランブル信号96の復号化を色相ずれ等を発生さ
せずに適正に行うことができる。なお、スクランブル信
号96の水平同期部分97には上記デジタル同期信号93の
他、1フレームに1個の割で伝送され、フレーム同期の
基準信号となるフレーム同期信号98、さらにスクランブ
ルのタイミングが変化する時に1フレーム間にわたって
1水平期間毎に1個の割で伝送され、スクランブルの各
種データの切換基準信号となるスクランブルタイミング
信号99が付加される。
FIG. 10 (b) is an enlarged view of the digital synchronizing signal 93 added to the horizontal synchronizing portion 92. The digital synchronizing signal 93 is inserted in the addresses 19 to 64, its frequency is 4/5 sc , and has 7 cycles. Since the above-mentioned address x is grasped with reference to this digital synchronization signal 93, if the address of the digital synchronization signal 93 is correctly detected on the receiving side, the decoding point address read from the division point address x sent together with the audio signal. y (see FIG. 9 (b)) can also be known accurately, and the scramble signal 96 can be properly decoded without causing a hue shift or the like. In addition to the digital synchronization signal 93, the horizontal synchronization portion 97 of the scramble signal 96 is transmitted once per frame, and the frame synchronization signal 98 serving as a frame synchronization reference signal and the scrambling timing are changed. Occasionally, a scramble timing signal 99, which is transmitted once every horizontal period over one frame and serves as a switching reference signal for various scramble data, is added.

以上、詳述したスクランブル信号は、受信側で分割点情
報xから読み取られる復号点情報yをもとに映像期間p
の再入れ換えが行われると共に、のりしろ94,95および
デジタル同期信号93の除去、ならびに同期信号92の付け
替え等が行われ、第9図(c)に示すように復号化され
る。
The scrambled signal described in detail above is based on the decoding point information y read from the division point information x on the receiving side, and the video period p
Are replaced, the margins 94 and 95 and the digital synchronizing signal 93 are removed, and the synchronizing signal 92 is replaced, and the data is decoded as shown in FIG. 9 (c).

〔背景技術の問題点〕[Problems of background technology]

上述の如く、スクランブル信号96を適正にデスクランブ
ルするには、正確なデジタル同期信号93の検出ならびに
復号点yの把握が必要とされる。これが行われない場合
には、映出される受像画面に色相ずれ等が生じてしま
う。よって、スクランブル伝送が普及しつつある現在に
おいては、低コスト、無調整でかつデジタルIC化に適
した高精度の同期検出回路を有するデスクランブル装置
が望まれている。
As described above, in order to properly descramble the scrambled signal 96, it is necessary to accurately detect the digital synchronization signal 93 and grasp the decoding point y. If this is not done, a hue shift or the like will occur on the projected image receiving screen. Therefore, at the present time when scrambled transmission is becoming widespread, a descrambler having a highly accurate synchronization detection circuit which is low in cost, has no adjustment, and is suitable for a digital IC is desired.

〔発明の目的〕[Object of the Invention]

本発明は上記要望に鑑み成されたもので、正確なデスク
ランブル機能を備えたデスクランブル装置を提供するこ
とを目的とする。
The present invention has been made in view of the above demands, and an object of the present invention is to provide a descrambling device having an accurate descrambling function.

〔発明の概要〕[Outline of Invention]

本発明は上記目的を達成するため、まずデジタル同期検
出に先立って、その基準となる水平同期信号の検出精度
を高める。具体的にはビデオ信号より分離された複合同
期信号の水平同期信号部分の幅および周期性を判断して
一定の条件に適ったときのみこれを水平同期信号として
認め、適正なる水平同期信号を得る。本発明ではこのよ
うにして得られた高精度の水平同期信号をデジタル同期
検出に用いることにより、デジタル同期信号の検出自体
の精度を高める。さらに本発明ではデスクランブル時の
復号点を特定する位相情報と上記デジタル同期信号検出
により得られる絶対番地の位相間との位相ずれの連続性
を判断し、復号点を正確に把握し適正なるデスクランブ
ルを保証する。
In order to achieve the above object, the present invention first enhances the detection accuracy of a horizontal synchronization signal that is a reference thereof before digital synchronization detection. Specifically, the width and periodicity of the horizontal sync signal portion of the composite sync signal separated from the video signal are judged, and this is recognized as a horizontal sync signal only when certain conditions are met, and a proper horizontal sync signal is obtained. . In the present invention, the precision of the detection itself of the digital synchronization signal is improved by using the highly accurate horizontal synchronization signal thus obtained for the digital synchronization detection. Further, according to the present invention, the continuity of the phase shift between the phase information for specifying the decoding point at the time of descrambling and the phase of the absolute address obtained by the digital sync signal detection is judged, and the decoding point is accurately grasped and the proper data is detected. Guarantee scrambling.

〔発明の実施例〕Example of Invention

次にこの発明の一実施例を図面を参照して説明する。第
1図は本発明に係るデスクランブル装置の復号化回路10
0部分を表わすブロック図である。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a decoding circuit 10 of a descrambling device according to the present invention.
It is a block diagram showing a 0 portion.

スクランブルビデオ信号96は低域波器(LPF)1に
より帯域制限された後、A/D変換回路2へ供給される。
ここでサンプリングと量子化が行なわれデジタルスクラ
ンブルビデオ信号3が出力される。この場合のサンプリ
ング周波数ss=4scであり、サンプリング位相
は前記デジタル同期信号の絶体番地に同期したものであ
る。サンプリングのタイミングを与えるクロック4はク
ロック発生回路5で作られA/D変換回路2、復号化回路1
00へ供給され回路動作の基準として使われる。デジタル
スクランブルビデオ信号3はクランプ演算回路6へ供給
されタイミング発生回路7より出力されるバーストゲー
トパルス8のタイミングによりクランプ誤差演算が施さ
れ、デジタルクランプ制御信号9としてD/A変換回路10
へ供給される。上記バーストゲートパルス8はクランプ
演算回路6においてペデスタルレベルの大きさを検出す
るためのカラーバースト積分のタイミングを与えるもの
でカラーバースト3周期分、つまり12サンプル分の幅を
有する。D/A変換回路10は入力されたデジタルクランプ
制御信号9をD/A変換しアナログクランプ制御信号11と
して出力する。このクランプ制御信号11は電圧としてス
クランブル信号96に加えられクランプがかけられる。
The scrambled video signal 96 is band-limited by the low pass filter (LPF) 1 and then supplied to the A / D conversion circuit 2.
Here, sampling and quantization are performed and the digital scrambled video signal 3 is output. The sampling frequency s in this case is s = 4 sc , and the sampling phase is synchronized with the absolute address of the digital synchronizing signal. The clock 4 which gives the sampling timing is generated by the clock generation circuit 5, and the A / D conversion circuit 2 and the decoding circuit 1 are provided.
It is supplied to 00 and used as a reference for circuit operation. The digital scramble video signal 3 is supplied to the clamp calculation circuit 6 and clamp error calculation is performed at the timing of the burst gate pulse 8 output from the timing generation circuit 7, and the D / A conversion circuit 10 is supplied as the digital clamp control signal 9.
Is supplied to. The burst gate pulse 8 gives the timing of color burst integration for detecting the magnitude of the pedestal level in the clamp calculation circuit 6, and has a width of 3 cycles of color burst, that is, 12 samples. The D / A conversion circuit 10 D / A converts the input digital clamp control signal 9 and outputs it as an analog clamp control signal 11. The clamp control signal 11 is added as a voltage to the scramble signal 96 to be clamped.

またデジタルスクランブルビデオ信号3はPLL演算回路1
2へ供給されタイミング発生回路7より出力されるデジ
タル同期ゲートパルス13のタイミングによりデジタル同
期基準信号14との間でPLL誤差演算が施される。上記デ
ジタル同期ゲートパルス13はPLL演算回路12において
デジタル同期信号93の位相を検出するための位相誤差積
分のタイミングを与えるもので、デジタル同期信号の3
周期分、つまり15サンプル分の幅を有する。またデジタ
ル同期基準信号14はクロック4を分周回路51で5分周し
たもので、その位相はデジタル同期信号の絶対番地の19
番地、24番地、29番地等に一致している。上記PLL演
算回路12が出力するデジタルPLL制御信号15はD/A変
換回路16を介してアナログ信号17に変換され、クロック
発生回路5に供給される。クロック発生回路5はアナロ
グ化された制御信号17により位相制御が行われたクロッ
ク4を出力する。この結果サンプリング位相がデジタル
同期信号93の絶対番地に一致するようになる。
The digital scrambled video signal 3 is sent to the PLL arithmetic circuit 1
A PLL error calculation is performed with the digital synchronization reference signal 14 at the timing of the digital synchronization gate pulse 13 that is supplied to 2 and output from the timing generation circuit 7. The digital synchronization gate pulse 13 gives the timing of the phase error integration for detecting the phase of the digital synchronization signal 93 in the PLL arithmetic circuit 12, and the digital synchronization signal 3
It has a width of one cycle, that is, 15 samples. The digital synchronization reference signal 14 is obtained by dividing the clock 4 by 5 by the frequency dividing circuit 51, and its phase is 19 which is the absolute address of the digital synchronization signal.
It corresponds to the street address, 24, 29, etc. The digital PLL control signal 15 output from the PLL arithmetic circuit 12 is converted into an analog signal 17 via the D / A conversion circuit 16 and supplied to the clock generation circuit 5. The clock generation circuit 5 outputs the clock 4 whose phase is controlled by the analogized control signal 17. As a result, the sampling phase matches the absolute address of the digital sync signal 93.

さて、スクランブルビデオ信号96は同期分離回路18へも
供給され、ここで同期分離が行なわれ複合同期信号19が
出力される。この複合同期信号19はさらに水平同期検出
回路20へ供給されここで水平同期が検出され水平同期検
出パルス21が出力される。水平同期信号21はタイミング
発生回路7へ供給され、ここでバーストゲートパルス
8、デジタル同期ゲートパルス13、デジタル同期タイミ
ングパルス22が発生され出力される。デジタル同期タイ
ミングパルス22は最初のデジタル同期信号93を検出する
ためのゲートパルスでデジタル同期信号93の最初の立下
りである22番地を検出するため、19番地付近で立上り24
番地付近で立下るようになっている(第10図(e)参
照)。
The scrambled video signal 96 is also supplied to the sync separation circuit 18, where the sync separation is performed and the composite sync signal 19 is output. The composite sync signal 19 is further supplied to a horizontal sync detection circuit 20 where horizontal sync is detected and a horizontal sync detection pulse 21 is output. The horizontal synchronizing signal 21 is supplied to the timing generating circuit 7, where the burst gate pulse 8, the digital synchronizing gate pulse 13, and the digital synchronizing timing pulse 22 are generated and output. The digital sync timing pulse 22 is a gate pulse for detecting the first digital sync signal 93, and it detects the first falling edge of the digital sync signal 93, which is address 22.
It is designed to fall near the address (see Fig. 10 (e)).

デジタル同期検出回路23にはデジタルスクランブルビデ
オ信号3とデジタル同期基準信号14及びデジタル同期タ
イミングパルス22が供給され、絶対番地である24番地を
検出し、デスクランブル基準信号24が出力される(第10
図(h)参照)。デスクランブル基準信号24は、位相比較
回路25へ供給され、水平書込カウンタ26から出力される
24番地信号27と位相比較される。位相がはずれている
と、位相制御信号28が水平書込カウンタ26に供給され、
水平書込カウンタ26の出力する前記24番地信号27の位相
ずれの修正が行われる。
The digital scramble video signal 3, the digital sync reference signal 14 and the digital sync timing pulse 22 are supplied to the digital sync detection circuit 23, the absolute address 24 is detected, and the descramble reference signal 24 is output (10th).
(See Figure (h)). The descramble reference signal 24 is supplied to the phase comparison circuit 25 and output from the horizontal write counter 26.
The phase is compared with the signal 27 at the address 24. When the phases are out of phase, the phase control signal 28 is supplied to the horizontal writing counter 26,
The phase shift of the 24th address signal 27 output from the horizontal writing counter 26 is corrected.

水平読出カウンタ29には、別系統より復号点番地(y)信
号30が供給され、デスクランブルするための読出しアド
レス31が出力される。この水平読出カウンタ29は前記水
平書込カウンタ26からの位相制御信号32により両カウン
タが同期して動作するように制御される。
A decoding point address (y) signal 30 is supplied to the horizontal read counter 29 from another system, and a read address 31 for descrambling is output. The horizontal read counter 29 is controlled by the phase control signal 32 from the horizontal write counter 26 so that both counters operate in synchronization.

デジタルスクランブルビデオ信号3は2Hメモリ33へ供
給される。ここでデジタルスクランブルビデオ信号3は
上記水平書込カウンタ26より供給される書込アドレス34
によって書き込まれ、水平読出カウンタ29より供給され
る読出アドレス31によって読み出され、映像期間pの再
入れ換えが行なわれる。
The digital scrambled video signal 3 is supplied to the 2H memory 33. Here, the digital scrambled video signal 3 has a write address 34 supplied from the horizontal write counter 26.
Are written by the read address 31 supplied from the horizontal read counter 29, and the video period p is replaced again.

ところで、前記デジタル同期検出回路23は、デジタルス
クランブルビデオ信号3の水平同期部分97に付加された
フレーム同期信号98を検出し、フレーム同期の基準信号
となるフレーム同期検出信号35を位相比較回路36に供給
する。位相比較回路36にはフレームカウンタ37よりフレ
ーム同期基準信号38も供給されており、前記フレーム同
期検出信号35間で位相比較が行われる。比較の結果、位
相ずれが生じている場合には、フレーム同期基準信号38
の位相を修正すべく比較回路36はフレームカウンタ37に
向け、位相制御信号39を供給する。なお、フレームカウ
ンタ37へは前記水平書込カウンタ26の出力する周波数2
HH:水平周波数)の入力信号40が供給されてい
る。
By the way, the digital synchronization detection circuit 23 detects the frame synchronization signal 98 added to the horizontal synchronization portion 97 of the digital scrambled video signal 3, and outputs the frame synchronization detection signal 35, which serves as a frame synchronization reference signal, to the phase comparison circuit 36. Supply. A frame synchronization reference signal 38 is also supplied from the frame counter 37 to the phase comparison circuit 36, and phase comparison is performed between the frame synchronization detection signals 35. If there is a phase shift as a result of comparison, the frame synchronization reference signal 38
The comparator circuit 36 supplies the phase control signal 39 to the frame counter 37 to correct the phase of the signal. The frequency 2 output from the horizontal writing counter 26 is applied to the frame counter 37.
An input signal 40 of H ( H : horizontal frequency) is supplied.

さて、上記水平書込カウンタ26およびフレームカウンタ
37の出力41,42は共に同期信号発生回路43に供給され
る。同期信号発生回路43は同期信号44を生成し、これを
同期付替回路45に向け供給する。同期付替回路45には前
記2Hメモリ33の出力する再入れ換えが行われたビデオ
信号46もまた導かれている。ビデオ信号46にはデジタル
同期信号93が残存しているため、同期付替回路45は前記
デジタル同期信号93と同期信号92との付け替えを行い、
適正なるデジタルNTSCビデオ信号47を出力する。ビ
デオ信号47はD/A変換器48を介し、アナログNTSCビ
デオ信号49に変換され、次段のLPE50を経ることによ
り補間され、復号化された状態で出力される。
Now, the horizontal writing counter 26 and the frame counter
Both outputs 41 and 42 of 37 are supplied to the synchronizing signal generating circuit 43. The synchronization signal generation circuit 43 generates a synchronization signal 44 and supplies it to the synchronization replacement circuit 45. The reassigned video signal 46 output from the 2H memory 33 is also guided to the synchronization reassignment circuit 45. Since the digital synchronization signal 93 remains in the video signal 46, the synchronization reassignment circuit 45 reassigns the digital synchronization signal 93 and the synchronization signal 92,
It outputs a proper digital NTSC video signal 47. The video signal 47 is converted into an analog NTSC video signal 49 via the D / A converter 48, and is interpolated by passing through the LPE 50 in the next stage, and is output in a decoded state.

以上が本発明の一実施例に係るデスクランブル装置の概
要説明である。次に本発明の特徴部分である高精度の番
地検出方法について詳細に説明する。
The above is the outline of the descrambling device according to the embodiment of the present invention. Next, a highly accurate address detection method, which is a characteristic part of the present invention, will be described in detail.

第2図は本発明に係る水平同期検出回路20の一実施例を
示したブロック図である。パルス幅検出回路201はスク
ランブルビデオ信号96から分離された複合同期信号19か
ら幅検出パルス202をクロック4を用いて検出し、これ
を周期測定回路203に出力する。周期測定回路203は検出
パルス204をタイミング発生回路213に出力すると共に、
この検出パルス204を得た時点の内蔵のカウンタによる
計数値205を周期値積分回路206に出力する。タイミング
発生回路213は検出パルス204に基づいて周期値積分に必
要なタイミング信号207及び判定回路212に必要なタイミ
ング信号208を出力する。周期値積分回路206はタイミン
グ信号207に基づいて入力された計数値205を積分し、入
力測定データの平均値を示す平均値信号209を差分演算
回路210に出力する。差分演算回路210には計数値205が
入力されているため、ここで平均値209と計数値205の差
分演算が行なわれ、その差分結果を示す差分信号211が
判定回路212に出力される。判定回路212は差分信号211
の絶対値をとり、その値を検出パルス204と所定の位相
関係にあるタイミング信号208で検出し、絶対値が所定
の値より小さい場合にのみ水平同期検出パルス21を出力
する。
FIG. 2 is a block diagram showing an embodiment of the horizontal sync detection circuit 20 according to the present invention. The pulse width detection circuit 201 detects the width detection pulse 202 from the composite sync signal 19 separated from the scrambled video signal 96 by using the clock 4, and outputs this to the period measurement circuit 203. The period measurement circuit 203 outputs the detection pulse 204 to the timing generation circuit 213,
The count value 205 by the built-in counter at the time of obtaining this detection pulse 204 is output to the period value integration circuit 206. The timing generation circuit 213 outputs a timing signal 207 required for period value integration and a timing signal 208 required for the determination circuit 212 based on the detection pulse 204. The cycle value integration circuit 206 integrates the count value 205 input based on the timing signal 207, and outputs the average value signal 209 indicating the average value of the input measurement data to the difference calculation circuit 210. Since the count value 205 is input to the difference calculation circuit 210, the difference calculation between the average value 209 and the count value 205 is performed here, and the difference signal 211 indicating the difference result is output to the determination circuit 212. The determination circuit 212 determines the difference signal 211
Is detected by the timing signal 208 having a predetermined phase relationship with the detection pulse 204, and the horizontal synchronization detection pulse 21 is output only when the absolute value is smaller than the predetermined value.

次に本実施例の動作にていて第3図乃至第5図に示した
タイミングチャートを参照しつつ説明する。パルス幅検
出回路201は第3図で示す複合同期信号19の“1”の期
間のパルス幅をクロック4で計数し約1μ秒期間前記
“1”のパルスが連続すると、第3図で示したタイミン
グで幅検出パルス202を出力する。周期測定回路203は幅
検出パルス202が第4図に示すように連続且つ所定の周
期で入力された時、第4図で示すタイミングにて検出パ
ルス204を出力する。周期測定回路203の上記動作におい
て、周期の測定はクロック4を内蔵10段カウンタで計数
することにより実行され、周期対応範囲は に設定されている。このため、検出パルス204は、幅パ
ルス202が連続に発生され、しかも上記周期対応範囲内
のもののみについて得られることになる。但し、第4図
中aは欠落をbはノイズを示している。また周期測定回
路203は検出パルス204が得られた時点の内蔵10段カウン
タの計数値を示す計数値205を出力し、この計数値205は
10ビットのデジタル信号でクロック4を単位にして測定
した幅検出パルス202の周期測定データである。なお、
上記クロック4、検出パルス204及び周期測定データを
示す計数値205は第5図に示したようなタイミング関係
を有している。
Next, the operation of this embodiment will be described with reference to the timing charts shown in FIGS. The pulse width detection circuit 201 counts the pulse width of the composite synchronizing signal 19 shown in FIG. 3 in the period of "1" with the clock 4 and when the pulse of "1" continues for about 1 microsecond, it is shown in FIG. The width detection pulse 202 is output at the timing. The cycle measuring circuit 203 outputs the detection pulse 204 at the timing shown in FIG. 4 when the width detection pulse 202 is continuously input at a predetermined cycle as shown in FIG. In the above operation of the cycle measuring circuit 203, the cycle is measured by counting the clock 4 with the built-in 10-stage counter, and the cycle corresponding range is Is set to. Therefore, the detection pulse 204 is obtained only for the width pulse 202 which is continuously generated and within the period corresponding range. However, in FIG. 4, a indicates omission and b indicates noise. Further, the cycle measuring circuit 203 outputs a count value 205 indicating the count value of the built-in 10-stage counter at the time when the detection pulse 204 is obtained, and this count value 205 is
It is the cycle measurement data of the width detection pulse 202 measured in units of clock 4 with a 10-bit digital signal. In addition,
The clock 4, the detection pulse 204, and the count value 205 indicating the period measurement data have the timing relationship shown in FIG.

周期値積分回路206はLPE(ローパスフィルタ)特性
を有し、入力した周期測定データを示す計数値205を積
分して測定データの平均値を示す入力測定データ平均値
信号209を出力する。この平均値信号209と上記周期測定
データを示す計数値205は差分演算回路210に入力されこ
こで両者の差分演算が行なわれる。判定回路212は差分
信号211の絶対値をとり、その値を検出パルス204と所定
の位相関係にある第5図に示したタイミングパルス208
で検出し、その絶対値が所定の値より小さい場合にの
み、第5図に示したタイミングにて水平同期検出パルス
21を出力する。なお、第5図より水平同期演出パルス21
は所定の条件が満たされると、検出パルス204よりクロ
ック4単位で2クロック後に得られることになる。
The period value integration circuit 206 has an LPE (low pass filter) characteristic, integrates the input count value 205 indicating the period measurement data, and outputs an input measurement data average value signal 209 indicating the average value of the measurement data. The average value signal 209 and the count value 205 indicating the cycle measurement data are input to the difference calculation circuit 210, where the difference between the two is calculated. The decision circuit 212 takes the absolute value of the difference signal 211, and its value is in timing with the detection pulse 204 and the timing pulse 208 shown in FIG.
The horizontal sync detection pulse is detected at the timing shown in FIG. 5 only when the absolute value is smaller than the predetermined value.
21 is output. In addition, from FIG. 5, the horizontal synchronization effect pulse 21
When a predetermined condition is satisfied, is obtained 2 clocks after the detection pulse 204 in units of 4 clocks.

本実施例によれば、複合同期信号19から幅検出パルス20
2を得、この幅検出パルス202の連続性及び周期性を測定
して検出パルス204及び周期測定データを示す計数値205
を得、この計数値205を積分して得られる水平同期信号
の周期の平均値を示す平均値信号209と前記計数値205の
差分を示す差分信号211を得、この差分信号の大きさが
所定の値より小さいときのみ水平同期検出パルス21を出
力する構成とすることにより、水平同期信号を高精度に
検出することができる。しかも、前記水平同期検出パル
ス21は前述した周期対応範囲においてその精度が均等に
なることが保証されている。
According to this embodiment, the width detection pulse 20
2, the continuity and periodicity of the width detection pulse 202 are measured to detect the detection pulse 204 and the count value 205 indicating the period measurement data.
To obtain a difference signal 211 indicating the difference between the count value 205 and an average value signal 209 indicating the average value of the period of the horizontal synchronizing signal obtained by integrating this count value 205, and the magnitude of this difference signal is predetermined. When the horizontal sync detection pulse 21 is output only when the value is smaller than the value of, the horizontal sync signal can be detected with high accuracy. In addition, it is guaranteed that the horizontal synchronization detection pulse 21 has the same accuracy in the above-mentioned period corresponding range.

さて、上述の如く高精度で検出された水平同期信号21は
タイミング発生回路7に供給される。これによりタイミ
ング発生回路7は非常に正確なデジタル同期タイミング
パルス22を発生する。
Now, the horizontal synchronizing signal 21 detected with high accuracy as described above is supplied to the timing generating circuit 7. This causes the timing generator 7 to generate a very accurate digital sync timing pulse 22.

上記デジタル同期タイミングパルス22が供給されるデジ
タル同期検出回路23のブロック構成図を第6図に、さら
にその具体的な回路構成図を第7図に示す。デジタルス
クランブルビデオ信号3はデジタル同期検出回路23内の
比較回路231へ導かれ、所定の値のスライスレベル232
(第10図(b)参照)との間で比較され、1ビットのデジ
タルスライス信号233(第10図(d)参照)として出力され
る。
FIG. 6 shows a block diagram of the digital sync detection circuit 23 to which the digital sync timing pulse 22 is supplied, and FIG. 7 shows a concrete circuit block diagram thereof. The digital scrambled video signal 3 is guided to the comparison circuit 231 in the digital synchronization detection circuit 23, and the slice level 232 having a predetermined value.
(See FIG. 10 (b)) and is output as a 1-bit digital slice signal 233 (see FIG. 10 (d)).

デジタルスライス信号233はゲート信号発生回路234に供
給され、第7図に示すようにデジタル同期タイミングパ
ルス22と共にナンド2341に導びかれる。この結果、デジ
タル同期信号93の1つ目の立下りナンド2341の出力2342
(第10図(f)参照)の立上りとして検出され、フリップ
フロップ2343に供給される。フリップフロップ2343の出
力235は番地検出回路236に供給される。デジタル同期基
準信号14は、前記番地検出回路236内のラッチ2361によ
って1サンプリング周期遅延された状態で前記フリップ
フロップ2343のリセット端にリセットパルス237として
供給される。よって、フリップフロップ2343の出力235
はデジタル同期基準信号14を1パルスしか含まないよう
になる(第10図(g)参照)。したがってフリップフロッ
プ2343の出力235とデジタル同期基準信号14の論理積を
アンド2362によってとればその出力は絶対番地である24
番地を与えるデスクランブル基準信号24となる。このデ
スクランブル基準信号24と水平書込カウンタ26の位相を
合せてやればデスクランブルポイントのアドレスyを正
確に合わせる事ができる。
The digital slice signal 233 is supplied to the gate signal generation circuit 234, and is guided to the NAND 2341 together with the digital sync timing pulse 22 as shown in FIG. As a result, the output 2342 of the first falling NAND 2341 of the digital synchronization signal 93
It is detected as the rising edge (see FIG. 10 (f)) and is supplied to the flip-flop 2343. The output 235 of the flip-flop 2343 is supplied to the address detection circuit 236. The digital synchronization reference signal 14 is supplied as a reset pulse 237 to the reset terminal of the flip-flop 2343 in a state delayed by one sampling period by the latch 2361 in the address detection circuit 236. Therefore, the output 235 of the flip-flop 2343
Contains only one pulse of the digital synchronization reference signal 14 (see FIG. 10 (g)). Therefore, if the logical product of the output 235 of the flip-flop 2343 and the digital synchronization reference signal 14 is obtained by AND 2362, the output is an absolute address.
It is the descramble reference signal 24 that gives the address. If the descrambling reference signal 24 and the phase of the horizontal writing counter 26 are matched, the address y of the descrambling point can be accurately matched.

第8図は位相比較回路25の具体的回路例である。デスク
ランブル基準信号24と水平書込カウンタ26より供給され
る24番地信号27の位相が一致している場合、アンド251
の出力によりカウンタ252はリセットされるので位相制
御信号28は出力されない。逆にデスクランブル基準信号
24と水平書込カウンタ26より供給される24番地信号27の
位相がずれている場合、アンド253によりデスクランブ
ル基準信号24の位相でカウンタ252がカウントされる。
FIG. 8 is a specific circuit example of the phase comparison circuit 25. If the descrambling reference signal 24 and the address signal 27 supplied from the horizontal writing counter 26 are in phase, the AND signal 251
Since the counter 252 is reset by the output of the above, the phase control signal 28 is not output. Conversely, the descrambling reference signal
When the 24 and the 24th address signal 27 supplied from the horizontal writing counter 26 are out of phase, the AND 253 counts the counter 252 with the phase of the descrambling reference signal 24.

この位相ずれが16回連続した場合アンド254の出力、す
なわち位相制御信号28が出力され、水平書込カウンタ26
の位相がデスクランブル基準信号24の位相に合わせられ
る。このようにカウンタ252により位相ずれの連続性を
判断しているので弱電界やノイズにより誤って位相ずれ
があると判断することを防いでいる。
When this phase shift continues 16 times, the output of AND 254, that is, the phase control signal 28 is output, and the horizontal write counter 26
Is aligned with the phase of the descramble reference signal 24. Since the continuity of the phase shift is determined by the counter 252 in this manner, it is prevented that the phase shift is erroneously determined due to a weak electric field or noise.

〔発明の効果〕〔The invention's effect〕

上記したようにこの発明によると水平同期検出回路20に
おいて複合同期信号19の幅及び周期性を検出しているた
め、非常に正確に水平同期信号21を検出することができ
る。そしてこの水平同期信号21をもとにデジタル同期検
出回路23が動作しているために絶対番地を高精度に検出
する事ができる。また位相比較回路25において映像期間
入れ換えの分割点を与える水平書込カウンタ26の位相と
絶対番地との位相ずれの連続性を判断しながら水平書込
カウンタ26の位相引き込みを行っているため、弱電界や
ノイズに対しても非常に正確で安定した分割点を検出す
ることができ、以って性能良くデスクランブルを達成で
きる。
As described above, according to the present invention, the horizontal sync detection circuit 20 detects the width and periodicity of the composite sync signal 19, so that the horizontal sync signal 21 can be detected very accurately. Since the digital sync detection circuit 23 operates based on the horizontal sync signal 21, the absolute address can be detected with high accuracy. In addition, since the phase comparison circuit 25 judges the continuity of the phase shift between the absolute address and the phase of the horizontal writing counter 26 which gives the division point for switching the video period, the phase of the horizontal writing counter 26 is pulled in, so that it is weak. Very precise and stable division points can be detected even with respect to electric fields and noise, and thus descrambling can be achieved with good performance.

なお、これらの機能はすべてデジタル信号で処理されて
いるので回路規模も非常に小さいものとなっている。
Since these functions are all processed by digital signals, the circuit scale is very small.

以上この発明によればスクランブルシステムの1方式で
あるライン内ローテーション方式をデスクランブルする
場合に必要な番地検出を高精度にしかもデジタルIC化
に適しているために低価格で実施できる復号化回路を有
したデスクランブル装置を提供できる。
As described above, according to the present invention, there is provided a decoding circuit which can carry out the address detection required when descrambling the in-line rotation system, which is one of the scrambling systems, with high accuracy and at a low cost because it is suitable for the digital IC. It is possible to provide a descrambler having the same.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明に係るデスクランブル装置の復号化回路
部分を中心とした回路ブロック図、第2図は本発明に係
る水平同期検出回路の回路ブロック図、第3図乃至第5
図は上記同期検出回路の動作を説明するためのパルス波
形図、第6図は本発明に係るデジタル同期検出回路のブ
ロック構成図、第7図は本発明に係るゲート信号発生回
路及び番地検出回路の具体的回路図、第8図は本発明に
係る位相比較器の具体的回路図、第9図はライン内ロー
テーション方式を説明するための模式的信号波形図、第
10図は本発明における番地検出方法を説明するための信
号波形図である。 2……A/D変換器、 3……デジタルスクランブルビデオ信号、 4……クロック、 7……タイミング発生回路、 14……デジタル同期基準信号、 18……同期分離回路、19……複合同期信号、 20……水平同期検出回路、21……水平同期信号、 22……デジタル同期タイミングパルス、 23……デジタル同期検出回路、 24……デスクランブル基準信号、 25……位相比較回路、26……水平書込カウンタ、 27……24番地信号、28……位相制御信号、 29……水平読出カウンタ、31……読出アドレス、 34……書込アドレス、51……分周回路、 91……ビデオ信号、93……デジタル同期信号、 96……スクランブルビデオ信号。
FIG. 1 is a circuit block diagram centering on a decoding circuit portion of a descrambler according to the present invention, FIG. 2 is a circuit block diagram of a horizontal synchronization detecting circuit according to the present invention, and FIGS.
FIG. 7 is a pulse waveform diagram for explaining the operation of the sync detection circuit, FIG. 6 is a block diagram of the digital sync detection circuit according to the present invention, and FIG. 7 is a gate signal generation circuit and address detection circuit according to the present invention. FIG. 8 is a specific circuit diagram of the phase comparator according to the present invention, and FIG. 9 is a schematic signal waveform diagram for explaining the in-line rotation system.
FIG. 10 is a signal waveform diagram for explaining the address detecting method in the present invention. 2 ... A / D converter, 3 ... Digital scrambled video signal, 4 ... Clock, 7 ... Timing generation circuit, 14 ... Digital sync reference signal, 18 ... Sync separation circuit, 19 ... Composite sync signal , 20 ... horizontal sync detection circuit, 21 ... horizontal sync signal, 22 ... digital sync timing pulse, 23 ... digital sync detection circuit, 24 ... descramble reference signal, 25 ... phase comparison circuit, 26 ... Horizontal write counter, 27 ... 24 address signal, 28 ... Phase control signal, 29 ... Horizontal read counter, 31 ... Read address, 34 ... Write address, 51 ... Divider circuit, 91 ... Video Signal, 93 …… Digital sync signal, 96 …… Scrambled video signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 工藤 幸則 神奈川県横浜市磯子区新杉田町8 株式会 社東芝横浜金属工場内 (72)発明者 中河 正樹 神奈川県横浜市磯子区新杉田町8 株式会 社東芝横浜金属工場内 (72)発明者 河合 直樹 東京都世田谷区砧1丁目10番11号 日本放 送協会放送技術研究所内 (72)発明者 木村 武史 東京都世田谷区砧1丁目10番11号 日本放 送協会放送技術研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yukinori Kudo 8 Shinsugita-cho, Isogo-ku, Yokohama, Kanagawa Stock Company Toshiba Yokohama Metal Factory (72) Masaki Nakagawa 8 Shinsugita-cho, Isogo-ku, Yokohama, Kanagawa Stock Association Company Toshiba Yokohama metal factory (72) Inventor Naoki Kawai 1-10-11 Kinuta, Setagaya-ku, Tokyo Inside Broadcasting Technology Research Institute of Japan Broadcasting Corporation (72) Inventor Takeshi Kimura 1-10-11 Kinuta, Setagaya-ku, Tokyo Broadcasting Technology Research Institute, Japan Broadcasting Corporation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】1水平期間が等分されると共に各等分点に
番地が付与され、絵柄期間内の所定の番地で分割される
と共にこの絵柄期間内で順序が入れ換えられた絵柄信号
と、前記番地を同期計数する際の基準となる絶対基準番
地を検出するための所定の幅および周期を有する絶対基
準番地信号が多重された水平同期信号とを有するスクラ
ンブルビデオ信号が入力される入力端と、 前記スクランブルビデオ信号をサンプリングするための
クロックを出力するクロック発生回路と、 前記スクランブルビデオ信号をアナログ−デジタル変換
し前記クロックでサンプリングしたデジタルスクランブ
ルビデオ信号を出力するA/D変換回路と、 前記スクランブルビデオ信号から前記水平同期信号を検
出したとき水平同期検出信号を出力する水平同期検出回
路と、 前記水平同期検出信号に基づくタイミングで、前記絶対
基準番地を検出するためのデジタル同期タイミング信号
を出力するタイミング発生回路と、 前記クロックを分周したデジタル同期基準信号を出力す
る分周回路と、 前記デジタルスクランブルビデオ信号、前記デジタル同
期タイミング信号および前記デジタル同期基準信号が供
給され、前記絶対基準番地に対応した前記デジタル同期
基準信号を抽出しデスクランブル基準信号として出力す
るデジタル同期検出回路と、 前記デジタルスクランブルビデオ信号を記憶し、再入れ
換えを行ったデジタルスクランブルビデオ信号を出力す
るメモリと、 前記所定の番地に対応した読出変更信号が入力される入
力端と、 位相制御信号により位相制御され、前記絶対基準番地に
同期した書込アドレスを出力する水平書込カウンタと、 前記水平書込カウンタに同期し前記読出変更信号に応じ
た読出アドレスを出力する水平読出カウンタと、 前記デジタルスクランブルビデオ信号を前記書込アドレ
スにより前記メモリへ書込み、前記読出読出アドレスに
より前記メモリから読出す書込/読出手段と、 前記水平書込カウンタの出力する前記絶対基準番地に対
応した書込アドレスと前記デスクランブル基準信号との
位相を比較し、位相ずれが所定回数連続して発生した場
合に前記水平書込カウンタの出力を前記デスクランブル
基準信号に同期させる前記位相制御信号を前記水平書込
カウンタに出力する位相比較回路とを有することを特徴
とするデスクランブル装置。
1. A pattern signal in which one horizontal period is equally divided, addresses are given to respective equal points, and the signals are divided at a predetermined address in the pattern period and the order is changed in this pattern period. An input end to which a scrambled video signal having a horizontal sync signal having an absolute reference address signal having a predetermined width and a period for detecting an absolute reference address serving as a reference for synchronously counting the addresses is input; A clock generation circuit for outputting a clock for sampling the scrambled video signal; an A / D conversion circuit for analog-digital converting the scrambled video signal and outputting a digital scrambled video signal sampled by the clock; Horizontal sync detection that outputs a horizontal sync detection signal when the horizontal sync signal is detected from a video signal Path, a timing generation circuit that outputs a digital synchronization timing signal for detecting the absolute reference address at a timing based on the horizontal synchronization detection signal, and a frequency dividing circuit that outputs a digital synchronization reference signal obtained by dividing the clock. And a digital sync detection circuit which is supplied with the digital scrambled video signal, the digital sync timing signal and the digital sync reference signal, and which extracts the digital sync reference signal corresponding to the absolute reference address and outputs it as a descramble reference signal. A memory that stores the digital scrambled video signal and outputs the digital scrambled video signal that has been re-swapped, an input end to which a read change signal corresponding to the predetermined address is input, and a phase control signal that controls the phase. , Writing in synchronization with the absolute reference address Address, a horizontal write counter, a horizontal read counter that outputs a read address according to the read change signal in synchronization with the horizontal write counter, and the digital scrambled video signal is written to the memory by the write address. Writing / reading means for reading from the memory by the reading / reading address, and a phase of the write address corresponding to the absolute reference address output from the horizontal write counter and the descrambling reference signal are compared, A phase comparison circuit for outputting the phase control signal for synchronizing the output of the horizontal write counter with the descrambling reference signal to the horizontal write counter when the shift occurs continuously a predetermined number of times. Descrambling device.
【請求項2】前記同期検出回路は、前記デジタルスクラ
ンブルビデオ信号を所定の基準レベルでスライスしパル
ス波形化したデジタルスライス信号を出力する比較回路
と、 前記デジタルスライス信号を前記デジタル同期タイミン
グ信号によりゲートしデジタル同期基準信号中の所定の
絶対番地に対応するデジタル同期基準信号を検出するた
めのゲート信号を出力するゲート信号発生回路と、 前記ゲート信号により前記デジタル同期基準信号をゲー
トし前記デスクランブル基準信号を出力する番地検出回
路とからなることを特徴とする特許請求の範囲第1項記
載のデスクランブル装置。
2. A synchronization detecting circuit, which outputs a digital slice signal obtained by slicing the digital scrambled video signal at a predetermined reference level and converting it into a pulse waveform, and gates the digital slice signal with the digital synchronization timing signal. A gate signal generation circuit for outputting a gate signal for detecting a digital synchronization reference signal corresponding to a predetermined absolute address in the digital synchronization reference signal, and the descrambling reference for gated the digital synchronization reference signal by the gate signal. The descrambling device according to claim 1, further comprising an address detection circuit that outputs a signal.
JP60090932A 1985-04-30 1985-04-30 Descrambler Expired - Lifetime JPH0652947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60090932A JPH0652947B2 (en) 1985-04-30 1985-04-30 Descrambler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60090932A JPH0652947B2 (en) 1985-04-30 1985-04-30 Descrambler

Publications (2)

Publication Number Publication Date
JPS61251286A JPS61251286A (en) 1986-11-08
JPH0652947B2 true JPH0652947B2 (en) 1994-07-06

Family

ID=14012217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60090932A Expired - Lifetime JPH0652947B2 (en) 1985-04-30 1985-04-30 Descrambler

Country Status (1)

Country Link
JP (1) JPH0652947B2 (en)

Also Published As

Publication number Publication date
JPS61251286A (en) 1986-11-08

Similar Documents

Publication Publication Date Title
JP3964041B2 (en) Viewing channel determination device
EP0700568B1 (en) Synchronizing digital audio to digital video
US5202761A (en) Audio synchronization apparatus
US5555025A (en) Apparatus and method for performing asynchronous multi-standard VBI data extraction
US5767917A (en) Method and apparatus for multi-standard digital television synchronization
KR930010360B1 (en) Restoring circuit for corresponding signal
JPH0652947B2 (en) Descrambler
US4631587A (en) Field responsive vertical pulse generator
US4613900A (en) Digital code reading apparatus and method
JPS6170861A (en) Horizontal synchronization detecting circuit
KR100355439B1 (en) Method and Apparatus for discriminating a inputted video clock automatically in HDTV video encoder
JPH0652946B2 (en) Descrambler
KR0163298B1 (en) Apparatus for reproducing channel code
US5835154A (en) Circuit arrangement for deriving pulses of horizontal and vertical frequency
JPS61261973A (en) Frame synchronizing separator circuit
JP2997013B2 (en) Vertical synchronous playback circuit
GB2229890A (en) Teletext broadcasting signal generating and receiving apparatus
JPH0722389B2 (en) Descrambler
JPS6123494A (en) Video signal reproducing device
JPH07170500A (en) Data sampling method
JP3035408B2 (en) Viewing channel judgment device
CA1040298A (en) Oscillator circuit for generating reference signals
JP3475773B2 (en) Video signal processing device and liquid crystal display device
JPH0478231B2 (en)
JPH0478233B2 (en)