JPH05219045A - Coded signal decoding device - Google Patents
Coded signal decoding deviceInfo
- Publication number
- JPH05219045A JPH05219045A JP4020941A JP2094192A JPH05219045A JP H05219045 A JPH05219045 A JP H05219045A JP 4020941 A JP4020941 A JP 4020941A JP 2094192 A JP2094192 A JP 2094192A JP H05219045 A JPH05219045 A JP H05219045A
- Authority
- JP
- Japan
- Prior art keywords
- synchronization
- signal
- state
- information
- frame
- 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.)
- Granted
Links
Landscapes
- Error Detection And Correction (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
(57)【要約】
【目的】 フレーム単位で音声等を符号化した符号化信
号を復号化する符号化信号復号化装置で、編集等により
フレームが不連続となった際、不連続点で早く同期の再
引き込みができ、誤復号しない符号化信号復号化装置を
実現する。
【構成】 同期パターン検出部2で符号化信号の同期パ
ターンを検出する。フレーム情報抽出部3で符号化信号
S1からフレーム長情報を抽出する。判定タイミング発
生部4は同期パターンを基準にフレーム長情報で次の同
期位置を予測する。同期状態判定部5は予測同期信号を
用いて同期のアンロック,ロックを判定し同期状態情報
を出力する。復号化部6は同期状態情報を利用して復号
化を行う。この構成により、同期状態情報によって判定
タイミング発生部4及び復号化部6の動作を制御するこ
とで、不連続な符号化信号の同期の再引き込みを高速に
でき、不連続点でノイズを生じないようにすることがで
きる。
(57) [Abstract] [Purpose] A coded signal decoding device that decodes a coded signal obtained by coding speech or the like in frame units. When a frame becomes discontinuous due to editing, etc. (EN) A coded signal decoding device capable of re-acquiring synchronization and preventing erroneous decoding. [Structure] A sync pattern detector 2 detects a sync pattern of an encoded signal. The frame information extraction unit 3 extracts frame length information from the encoded signal S1. The determination timing generation unit 4 predicts the next synchronization position based on the synchronization pattern based on the frame length information. The synchronization state determination unit 5 determines whether the synchronization is unlocked or locked by using the predicted synchronization signal and outputs the synchronization state information. The decryption unit 6 utilizes the synchronization status information to perform decryption. With this configuration, by controlling the operations of the determination timing generation unit 4 and the decoding unit 6 according to the synchronization status information, the synchronization re-pull-in of the discontinuous coded signal can be speeded up, and noise does not occur at the discontinuous point. You can
Description
【0001】[0001]
【産業上の利用分野】本発明は、信号をフレーム単位で
符号化した符号化信号を復号化するための符号化信号復
号化装置に関するものであって、特に符号化信号の同期
検出に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coded signal decoding device for decoding a coded signal obtained by coding a signal on a frame-by-frame basis, and more particularly to detecting synchronization of the coded signal.
【0002】[0002]
【従来の技術】近年、高能率符号化技術の進歩,発達に
伴い、音声,画像等のデジタル信号を高能率符号化する
技術が、その適用分野を拡大していく時期を迎えつつあ
る。2. Description of the Related Art In recent years, with the progress and development of high-efficiency coding technology, the technology for high-efficiency coding of digital signals such as voice and images is approaching its application field.
【0003】従来、高能率符号化技術では複数のデジタ
ル信号でフレームを構成し、フレームに対して符号化を
行うことによって高能率な符号化を達成する技術が広く
用いられてきた。このような技術を用いて符号化したデ
ータをデジタル記録あるいはデジタル回線によって伝送
する場合、符号化したデータに同期パターンとフレーム
周期等のシステム情報を付加して符号化フレームを構成
することが広く行われている。同期パターンを付加する
ことにより同期情報がデータと共に伝送あるいは記録で
きるため、同期用の別回線や記録領域が不要となる。ま
た、フレーム周期情報を記録することにより各種フレー
ム周期に対応することが可能となる。Conventionally, in the high-efficiency encoding technique, a technique has been widely used in which a frame is composed of a plurality of digital signals and the frame is encoded to achieve high-efficiency encoding. When coded data is transmitted by digital recording or a digital line using such a technique, it is common practice to add coded data with system information such as a synchronization pattern and frame period to form a coded frame. It is being appreciated. Since the synchronization information can be transmitted or recorded together with the data by adding the synchronization pattern, a separate line or recording area for synchronization becomes unnecessary. Further, by recording the frame period information, it becomes possible to deal with various frame periods.
【0004】以下に、このような技術を用いた従来の符
号化信号復号化装置の一例について説明する。An example of a conventional coded signal decoding device using such a technique will be described below.
【0005】図7は、従来の符号化信号復号化装置のブ
ロック図を示すものである。図7において、71は符号
化信号再生部、72は同期パターン検出部、73はフレ
ーム情報抽出部、74は同期タイミング発生部、75は
復号化部である。FIG. 7 is a block diagram of a conventional coded signal decoding device. In FIG. 7, reference numeral 71 is a coded signal reproducing unit, 72 is a synchronization pattern detecting unit, 73 is a frame information extracting unit, 74 is a synchronization timing generating unit, and 75 is a decoding unit.
【0006】以上のように構成された符号化信号復号化
装置について、以下その動作を説明する。The operation of the coded signal decoding device configured as described above will be described below.
【0007】符号化信号再生部71は通信路によって伝
達されてきた信号や記録媒体からの信号を再生する。こ
の場合、記録媒体として例えば磁気テープを用い、符号
化信号を予め記録しておきこれを再生するものとする。
符号化信号再生部71は記録媒体からの信号に誤り訂正
を行い、符号化信号S71と訂正不能信号S72を出力
する。同期パターン検出部72は符号化信号S71から
同期パターンを抽出し、同期パターン検出信号S73を
出力する。訂正不能信号S72が訂正不能であることを
示す場合には同期パターンでないものと見なす。フレー
ム情報抽出部73は符号化信号S71から、同期パター
ンに対して予め定められた位置にあるフレーム長情報S
74を抽出し出力する。同期タイミング発生部74は同
期パターン検出信号S73とフレーム長情報S74とか
ら、同期パターン検出時刻を基準にしてフレーム長情報
S74によって次の同期パターンが来るべき時刻に予測
同期信号S75を出力する。この予測同期信号S75は
同期パターン検出信号S73が1フレーム抜けたとき、
直前のフレーム長情報S74と予測同期信号S75とを
使って次の予測を行う。同期パターン検出信号S73が
2フレーム連続して抜けたとき、予測同期信号S75を
停止する。いわゆるフライホイール的な動作をして同期
パターンが訂正不能等により歯抜けとなった場合の保護
をしている。復号化部75は符号化信号S71を予測同
期信号S75で示されるタイミングを基準として、直前
の1フレームを復号化し、再生信号S76を出力する。The encoded signal reproducing section 71 reproduces the signal transmitted through the communication path or the signal from the recording medium. In this case, for example, a magnetic tape is used as the recording medium, and the encoded signal is recorded in advance and reproduced.
The encoded signal reproducing unit 71 performs error correction on the signal from the recording medium and outputs the encoded signal S71 and the uncorrectable signal S72. The synchronization pattern detector 72 extracts a synchronization pattern from the encoded signal S71 and outputs a synchronization pattern detection signal S73. If the uncorrectable signal S72 indicates uncorrectable, it is regarded as not a synchronization pattern. The frame information extraction unit 73 uses the encoded signal S71 to extract the frame length information S at a predetermined position with respect to the synchronization pattern.
74 is extracted and output. The synchronization timing generation unit 74 outputs the predicted synchronization signal S75 from the synchronization pattern detection signal S73 and the frame length information S74 at the time when the next synchronization pattern should come according to the frame length information S74 with reference to the synchronization pattern detection time. This predicted sync signal S75 is obtained when the sync pattern detection signal S73 is missing by one frame.
The next prediction is performed using the immediately preceding frame length information S74 and the prediction synchronization signal S75. When the sync pattern detection signal S73 is missing for two consecutive frames, the predicted sync signal S75 is stopped. A so-called flywheel-like operation is performed to protect in the case where the sync pattern is missing due to uncorrectability or the like. The decoding unit 75 decodes the immediately preceding one frame with the coded signal S71 as the timing indicated by the prediction synchronization signal S75, and outputs the reproduction signal S76.
【0008】図8は符号化信号の符号化フレーム構成の
一例を示したもので、符号化フレームの先頭に同期パタ
ーンS、続いてフレーム長を示すフレーム長情報T、続
いて符号化した記録信号Uという構成をとっている。図
8で同期パターンSは8つの連続した‘1’で表され
る。フレーム長情報Tは同期パターンSに対して一定の
位置、この例では直後の位置に符号化して記録する。FIG. 8 shows an example of a coded frame structure of a coded signal. A sync pattern S is provided at the beginning of the coded frame, then frame length information T showing the frame length, and then a coded recording signal. It has a configuration called U. In FIG. 8, the synchronization pattern S is represented by eight consecutive “1” s. The frame length information T is encoded and recorded at a fixed position with respect to the synchronization pattern S, in this example, the position immediately after.
【0009】[0009]
【発明が解決しようとする課題】しかしながら上記従来
の符号化信号復号化装置では、編集や信号の切り換え等
により不連続になった符号化信号を復号化した場合、同
期パターンの周期が乱れた直後の不連続な符号化信号を
正しいデータと見なして復号化してしまい、ノイズが出
力されるという問題点を有していた。However, in the above-described conventional coded signal decoding apparatus, when a coded signal that is discontinuous due to editing, signal switching, or the like is decoded, immediately after the period of the synchronization pattern is disturbed. However, there is a problem in that the discontinuous coded signal of is regarded as correct data and is decoded, and noise is output.
【0010】図9はこの問題点を示すための従来の符号
化信号復号化装置の動作タイミングを示すものである。FIG. 9 shows the operation timing of the conventional coded signal decoding apparatus for showing this problem.
【0011】符号化信号S71として図に示すような信
号が出力されるものとする。図の斜線で示した部分は同
期パターンであり、斜線で示す部分から次の斜線で示す
部分の直前までが1フレームである。フレームa〜フレ
ームgは説明のために付加したフレーム名である。フレ
ームdの部分のフレーム周期が短くなっているのは、図
の▼で示した点で編集を行ったためにフレームが切り替
わっているためである。また、訂正不能信号S72は訂
正不能時に‘1’となる。この例ではフレームcの同期
パターンの部分で訂正不能となり、図に示すような信号
が出力される。このような符号化信号S71と訂正不能
信号S72とが符号化信号再生部71から出力されると
きの従来の符号化信号復号化装置の動作を説明する。It is assumed that a signal as shown in the figure is output as the encoded signal S71. The hatched portion in the figure is a synchronization pattern, and one frame extends from the hatched portion to immediately before the next hatched portion. Frames a to g are frame names added for explanation. The reason why the frame period of the frame d is short is that the frames are switched because the editing is performed at the points indicated by ▼ in the figure. Further, the uncorrectable signal S72 becomes "1" when the correction is impossible. In this example, the portion of the synchronization pattern of frame c cannot be corrected and a signal as shown in the figure is output. The operation of the conventional coded signal decoding device when such coded signal S71 and uncorrectable signal S72 are output from the coded signal reproduction unit 71 will be described.
【0012】同期パターン検出部72は符号化信号S7
1の同期パターンを検出したときに‘1’(ハイレベ
ル)となる同期パターン検出信号S73を出力する。訂
正不能信号S72が‘1’の場合は何も出力しない。フ
レーム情報抽出部73は符号化信号S71から同期パタ
ーン検出信号S73が‘1’になった直後のフレーム長
情報S74を抽出する。先ずはじめに、フレームaの同
期パターンを検出すると同期タイミング発生部74はフ
レーム情報抽出部73の出力したフレーム長Ta後に予
測同期信号S75=‘1’を出力する。以後は各フレー
ムのフレーム長情報S74の示す周期で予測同期信号S
75を出力する。訂正不能等でそのフレームのフレーム
長情報S74が抽出できない場合は直前のフレーム長情
報S74を用いる。例えばフレームcでTcが抽出でき
ない場合Tbを用いる。これによってフレームcの訂正
不能による同期抜けを保護できる。予測同期信号S75
=‘1’のときに同期パターン検出信号S73=‘1’
をチェックし、2回‘0’となった場合予測同期信号S
75を停止する。同期が外れた後、次の同期パターン検
出信号S73を待ち、フレームaの場合と同様の処理が
行われる。復号化部75は予測同期信号S75を基準と
して1フレーム単位で復号化を行う。図で点線の矢印で
示したように、処理遅延によって符号化信号S71に対
して1フレーム遅れて再生信号S76が出力されるた
め、符号化信号S71のフレームb,c,dの時刻には
フレームa,b,cの再生信号S76が再生される。フ
レームd、フレームgについても同様である。フレーム
dは同期パターンが正しいため復号化を行うが、フレー
ムの途中に編集点がありデータが不連続になっているた
めに正しく復号化できない。The synchronization pattern detector 72 receives the encoded signal S7.
When the synchronization pattern of 1 is detected, the synchronization pattern detection signal S73 which becomes "1" (high level) is output. When the uncorrectable signal S72 is "1", nothing is output. The frame information extraction unit 73 extracts the frame length information S74 immediately after the synchronization pattern detection signal S73 becomes "1" from the encoded signal S71. First, when the synchronization pattern of the frame a is detected, the synchronization timing generator 74 outputs the predicted synchronization signal S75 = '1' after the frame length Ta output by the frame information extractor 73. After that, the prediction synchronization signal S is generated at the cycle indicated by the frame length information S74 of each frame.
Outputs 75. If the frame length information S74 of the frame cannot be extracted due to uncorrectability or the like, the immediately preceding frame length information S74 is used. For example, Tb is used when Tc cannot be extracted in frame c. As a result, loss of synchronization due to uncorrectable frame c can be protected. Predictive sync signal S75
When = 1, the sync pattern detection signal S73 = '1'
Is checked, and if it becomes “0” twice, the predicted synchronization signal S
Stop 75. After the synchronization is lost, the next synchronization pattern detection signal S73 is waited for, and the same processing as in the case of frame a is performed. The decoding unit 75 performs decoding on a frame-by-frame basis with the prediction synchronization signal S75 as a reference. As indicated by the dotted arrow in the figure, the reproduction signal S76 is output with a delay of one frame from the encoded signal S71 due to the processing delay, so that the frames b, c, and d of the encoded signal S71 are output at the time of the frame. The reproduction signals S76 of a, b and c are reproduced. The same applies to the frame d and the frame g. The frame d is decoded because the sync pattern is correct, but the data cannot be correctly decoded because there is an edit point in the middle of the frame and the data is discontinuous.
【0013】このように従来の符号化信号復号化装置で
は、編集等により不連続になった符号化信号を復号化し
た場合、同期パターンが正しいため同期保護が働き、誤
復号されてしまうという問題点を有していた。また、同
期保護動作が終了後、次の同期引き込み処理を開始する
ため、同期の再引き込みが遅れるという問題点を有して
いた。As described above, in the conventional coded signal decoding apparatus, when a coded signal that is discontinuous due to editing or the like is decoded, the synchronization pattern is correct and thus the synchronization protection works, resulting in erroneous decoding. Had a point. Further, since the next synchronization pull-in process is started after the synchronization protection operation is completed, there is a problem that the synchronization re-pull-in is delayed.
【0014】本発明は上記従来の問題点を解決するもの
で、同期を早く引き込み、一度引き込んだ同期が訂正不
能等のエラーによって外れにくく、なおかつ、符号化信
号の不連続があっても誤った復号をしない符号化信号復
号化装置を提供することを目的とするものである。The present invention solves the above-mentioned problems of the prior art. The synchronization is pulled in early, and once the synchronization is pulled in, it is unlikely to be disengaged due to an error such as an uncorrectable error. It is an object of the present invention to provide an encoded signal decoding device that does not perform decoding.
【0015】[0015]
【課題を解決するための手段】この目的を達成するため
に本発明の符号化信号復号化装置は、伝送路や記録媒体
からの信号に誤り訂正を行い、符号化信号と訂正不能信
号を出力する符号化信号再生手段と、符号化信号と訂正
不能信号とから同期パターンを抽出し、同期パターン検
出信号を出力する同期パターン検出手段と、符号化信号
と同期パターン検出信号とを入力して、符号化信号中の
同期パターンに対して予め定められた位置に記録されて
いるフレーム長情報を抽出し出力するフレーム情報抽出
手段と、同期パターン検出信号とフレーム長情報と同期
状態情報とから、同期状態情報に従って同期パターン検
出時刻を基準にしてフレーム長情報によって次の同期パ
ターンが来るべき時刻に予測同期信号を出力する判定タ
イミング発生手段と、訂正不能信号と同期パターン検出
信号と予測同期信号とを入力し、これらの信号によって
現在の同期状態情報から次の状態を判定し、同期アンロ
ック状態及び同期ロック状態を示す同期状態情報を出力
する同期状態判定手段と、符号化信号と予測同期信号と
同期状態信号とを入力し、符号化信号を予測同期信号で
示されるタイミングを基準として、同期状態情報の示す
状態に従ってミュートあるいは符号化信号1フレームを
復号化した再生信号を出力する復号化手段とを有してい
る。To achieve this object, a coded signal decoding device of the present invention performs error correction on a signal from a transmission line or a recording medium, and outputs a coded signal and an uncorrectable signal. A coded signal reproducing means for extracting a sync pattern from the coded signal and the uncorrectable signal, and inputting the sync pattern detecting means for outputting the sync pattern detection signal, the coded signal and the sync pattern detection signal, From the frame information extracting means for extracting and outputting the frame length information recorded at a predetermined position with respect to the synchronization pattern in the encoded signal, the synchronization pattern detection signal, the frame length information and the synchronization state information Judgment timing generating means for outputting a predicted sync signal at the time when the next sync pattern should come based on the frame length information based on the sync pattern detection time according to the state information Inputs an uncorrectable signal, a sync pattern detection signal, and a predicted sync signal, determines the next state from the current sync state information by these signals, and outputs sync state information indicating a sync unlock state and a sync lock state. The sync state determining means for inputting the coded signal, the predicted sync signal and the sync state signal are input, and the coded signal is muted or coded according to the state indicated by the sync state information with reference to the timing indicated by the predictive sync signal. And a decoding means for outputting a reproduction signal obtained by decoding one frame.
【0016】また、本発明の符号化信号復号化装置は、
伝送路や記録媒体からの信号に誤り訂正を行い、符号化
信号と訂正不能信号を出力する符号化信号再生手段と、
符号化信号と訂正不能信号とから同期パターンを抽出
し、同期パターン検出信号を出力する同期パターン検出
手段と、符号化信号と同期パターン検出信号とを入力し
て、符号化信号中の同期パターンに対して予め定められ
た位置に記録されているフレーム長情報を抽出し出力す
るフレーム情報抽出手段と、同期パターン検出信号とフ
レーム長情報と第1の同期状態情報とから、第1の同期
状態情報に従って同期パターン検出時刻を基準にしてフ
レーム長情報によって次の同期パターンが来るべき時刻
に第1の予測同期信号を出力する第1の判定タイミング
発生手段と、訂正不能信号と同期パターン検出信号と第
1の予測同期信号と第1の状態遷移制御信号とを入力
し、第1の状態遷移制御信号によって状態遷移が許可さ
れている場合に、現在の第1の同期状態情報から次の状
態を判定し、同期アンロック状態及び同期ロック状態を
示す第1の同期状態情報を出力する第1の同期状態判定
手段と、同期パターン検出信号とフレーム長情報と第2
の同期状態情報とから、第2の同期状態情報に従って同
期パターン検出時刻を基準にしてフレーム長情報によっ
て次の同期パターンが来るべき時刻に第2の予測同期信
号を出力する第2の判定タイミング発生手段と、訂正不
能信号と同期パターン検出信号と第2の予測同期信号と
第2の状態遷移制御信号とを入力し、第2の状態遷移制
御信号によって状態遷移が許可されている場合に、現在
の第2の同期状態情報から次の状態を判定し、同期アン
ロック状態及び同期ロック状態を示す第2の同期状態情
報を出力する第2の同期状態判定手段と、第1の予測同
期信号と第1の同期状態情報と第2の予測同期信号と第
2の同期状態情報とを入力し、第1の同期状態情報と第
2の同期状態情報とから第1の同期状態判定手段と第2
の同期状態判定手段とのうちどちらか片方だけの状態遷
移を許可するための第1の状態遷移制御信号と第2の状
態遷移制御信号とを出力し、遷移が許可されている方の
予測同期信号と同期状態情報をそれぞれ第3の予測同期
信号と第3の同期状態情報として出力する状態遷移制御
手段と、符号化信号と第3の予測同期信号と第3の同期
状態信号とを入力し、符号化信号を第3の予測同期信号
で示されるタイミングを基準として、第3の同期状態情
報の示す状態に従ってミュートあるいは符号化信号1フ
レームを復号化した再生信号を出力する復号化手段とを
有している。Further, the coded signal decoding device of the present invention is
Coded signal reproduction means for performing error correction on a signal from a transmission line or a recording medium and outputting a coded signal and an uncorrectable signal,
A synchronization pattern detecting means for extracting a synchronization pattern from the encoded signal and the uncorrectable signal and outputting the synchronization pattern detection signal, and the encoded signal and the synchronization pattern detection signal are input to obtain a synchronization pattern in the encoded signal. On the other hand, the first synchronization state information is obtained from the frame information extraction means for extracting and outputting the frame length information recorded at a predetermined position, the synchronization pattern detection signal, the frame length information and the first synchronization state information. In accordance with the sync pattern detection time, the first determination timing generating means for outputting the first predicted sync signal at the time when the next sync pattern should come based on the frame length information, the uncorrectable signal, the sync pattern detection signal, and the 1 when the predicted synchronization signal and the first state transition control signal are input and the state transition is permitted by the first state transition control signal. First synchronization state determination means for determining the next state from the first synchronization state information and outputting first synchronization state information indicating a synchronization unlock state and a synchronization lock state, a synchronization pattern detection signal, and frame length information And the second
Second synchronization timing information that outputs a second predicted synchronization signal at the time when the next synchronization pattern should come based on the frame length information based on the synchronization pattern detection time according to the second synchronization status information. Means, the uncorrectable signal, the synchronization pattern detection signal, the second predicted synchronization signal, and the second state transition control signal are input, and when the state transition is permitted by the second state transition control signal, Second synchronization state determination means for determining the next state from the second synchronization state information of the second synchronization state information and outputting the second synchronization state information indicating the synchronization unlock state and the synchronization lock state, and the first predicted synchronization signal. The first synchronization status information, the second predicted synchronization signal, and the second synchronization status information are input, and the first synchronization status determination means and the second synchronization status information are input from the first synchronization status information and the second synchronization status information.
Of the synchronization state determining means, the first state transition control signal and the second state transition control signal for permitting the state transition of only one of them are output, and the prediction synchronization of the transition permitted one. State transition control means for outputting a signal and synchronization state information as a third predicted synchronization signal and third synchronization state information, respectively, and an encoded signal, a third predicted synchronization signal, and a third synchronization state signal are input. Decoding means for outputting a reproduction signal obtained by decoding one frame of the coded signal according to the state indicated by the third synchronization state information with reference to the timing indicated by the third predicted synchronization signal for the encoded signal. Have
【0017】[0017]
【作用】本発明の符号化信号復号化装置は上記した構成
により、同期状態判定手段によって同期状態を管理し、
予測同期信号と同期状態情報とによって復号化処理を行
うため、編集等によって符号化フレームの周期が乱れた
ときに誤って復号化することがない。The coded signal decoding device of the present invention has the above-mentioned configuration to manage the synchronization state by the synchronization state determination means,
Since the decoding process is performed using the predicted synchronization signal and the synchronization state information, it is possible to prevent decoding by mistake when the cycle of the encoded frame is disturbed by editing or the like.
【0018】また、本発明の符号化信号復号化装置は上
記した構成により、2つの判定タイミング発生手段と2
つの同期状態判定手段とを状態遷移制御手段で管理する
ことにより、符号化信号中の同期パターンチェックを2
つ同時に処理できるため、編集点等で符号化フレームの
周期が乱れたときに同期パターンを見逃すことなく正し
い同期に早く引き込むことができる。Further, the coded signal decoding device of the present invention has two judgment timing generating means and 2
By managing the one synchronization state determination means and the state transition control means, the synchronization pattern check in the encoded signal can be performed by 2
Since they can be processed simultaneously, when the cycle of the coded frame is disturbed at an edit point or the like, it is possible to quickly pull in to correct synchronization without missing the synchronization pattern.
【0019】[0019]
【実施例】以下、本発明の一実施例について、図面を参
照しながら説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.
【0020】図1は、本発明の第1の実施例における符
号化信号復号化装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a coded signal decoding apparatus according to the first embodiment of the present invention.
【0021】図1において、1は符号化信号再生部、2
は同期パターン検出部、3はフレーム情報抽出部、4は
判定タイミング発生部、5は同期状態判定部、6は復号
化部である。In FIG. 1, reference numeral 1 is a coded signal reproducing section, 2
Is a synchronization pattern detection unit, 3 is a frame information extraction unit, 4 is a determination timing generation unit, 5 is a synchronization state determination unit, and 6 is a decoding unit.
【0022】以上のように構成された本実施例の符号化
信号復号化装置について、以下その動作を説明する。The operation of the coded signal decoding apparatus of this embodiment having the above configuration will be described below.
【0023】符号化信号再生部1は従来例と同様に記録
媒体からの信号に誤り訂正を行い、符号化信号S1と訂
正不能信号S2を出力する。同期パターン検出部2は符
号化信号S1から同期パターンを抽出し、同期パターン
検出信号S3を出力する。訂正不能信号S2が訂正不能
であることを示す場合には同期パターンでないものと見
なす。フレーム情報抽出部3は符号化信号S1から、同
期パターンに対して予め定められた位置にあるフレーム
長情報S4を抽出し出力する。判定タイミング発生部4
は同期パターン検出信号S3とフレーム長情報S4と同
期状態情報S6とから、同期状態情報S6がC2,C
3,C4のときに直前の予測同期信号S5の立ち下がり
エッジを基準にしてフレーム長情報S4によって次の同
期パターンが来るべき時刻を予測して予測同期信号S5
を出力する。同期状態情報S6がC1のとき、予測同期
信号S5を停止する。同期状態判定部5は訂正不能信号
S2と同期パターン検出信号S3と予測同期信号S5と
同期状態情報S6とから次の状態を判定し、同期状態情
報S6を出力する。復号化部6は符号化信号S1を予測
同期信号S5で示されるタイミングを基準として、同期
状態情報S6の示す状態に従って直前の1フレームを復
号化し、再生信号S7を出力する。The coded signal reproducing unit 1 performs error correction on the signal from the recording medium as in the conventional example, and outputs the coded signal S1 and the uncorrectable signal S2. The synchronization pattern detection unit 2 extracts a synchronization pattern from the encoded signal S1 and outputs a synchronization pattern detection signal S3. If the uncorrectable signal S2 indicates uncorrectable, it is regarded as not a synchronization pattern. The frame information extraction unit 3 extracts the frame length information S4 at a predetermined position with respect to the synchronization pattern from the encoded signal S1 and outputs it. Judgment timing generator 4
Is the sync pattern detection signal S3, the frame length information S4, and the sync status information S6, and the sync status information S6 is C2, C.
At 3 and C4, the predicted synchronization signal S5 is predicted by predicting the time when the next synchronization pattern will come based on the frame length information S4 with reference to the falling edge of the immediately preceding synchronization signal S5.
Is output. When the synchronization status information S6 is C1, the predicted synchronization signal S5 is stopped. The synchronization state determination unit 5 determines the next state from the uncorrectable signal S2, the synchronization pattern detection signal S3, the predicted synchronization signal S5, and the synchronization state information S6, and outputs the synchronization state information S6. The decoding unit 6 decodes the immediately preceding one frame in accordance with the state indicated by the synchronization state information S6, with the encoded signal S1 as the timing indicated by the prediction synchronization signal S5, and outputs the reproduction signal S7.
【0024】図2は同期状態判定部5の同期状態情報S
6の状態遷移の一例を示す図である。同期状態情報S6
にはC1,C2,C3,C4があり、状態C1は同期パ
ターンが未検出の状態、状態C2は最初に同期パターン
が検出された状態、状態C3は同期がロックした状態、
状態C4はロックした後に1回同期パターンが検出され
なかった状態である。すなわち、状態C1と状態C2は
同期が外れているアンロック状態を示し、状態C3と状
態C4は同期がロックしている状態を示す。また、初期
状態は状態C1である。これらの状態間の遷移条件を図
2(a)に、その状態遷移図を図2(b)に示す。訂正
不能信号S2は‘0’のとき符号化信号S1が正しいこ
とを示し、‘1’のとき訂正不能であることを示す。同
期パターン検出信号S3は‘0’のとき符号化信号S1
が同期パターンでないことを示し、‘1’のとき同期パ
ターンであることを示す。状態判定のタイミングとして
は、状態C1では常に状態遷移の判定を行い、状態C
2,C3,C4では予測同期信号S5の立ち下がりエッ
ジで遷移状態の判定を行う。いま、状態C1であったと
すると、図から同期パターン検出信号S3が‘1’の場
合にのみ状態C2に遷移する。状態C2のとき、同期パ
ターン検出信号S3が‘1’の場合に限り状態C3に遷
移し、それ以外では状態C1に戻る。状態C3のとき、
同期パターン検出信号S3が‘0’のとき状態C1へ遷
移し、‘1’のとき状態C3に留まり、訂正不能信号S
2が‘1’のとき状態C4へ遷移する。状態C4のと
き、同期パターン検出信号S3が‘1’の場合に状態C
3に戻り、それ以外では状態C1に遷移する。FIG. 2 shows the synchronization status information S of the synchronization status determination unit 5.
It is a figure which shows an example of the state transition of 6. Synchronization status information S6
Have C1, C2, C3, and C4, the state C1 is a state in which no synchronization pattern is detected, the state C2 is a state in which the synchronization pattern is first detected, and the state C3 is a state in which synchronization is locked.
State C4 is a state in which the synchronization pattern is not detected once after locking. That is, the states C1 and C2 indicate unlocked states in which synchronization is lost, and the states C3 and C4 indicate states in which synchronization is locked. The initial state is state C1. The transition conditions between these states are shown in FIG. 2 (a), and the state transition diagram thereof is shown in FIG. 2 (b). When the uncorrectable signal S2 is "0", it indicates that the encoded signal S1 is correct, and when it is "1", it indicates that the coded signal S1 is uncorrectable. When the synchronization pattern detection signal S3 is "0", the encoded signal S1
Indicates that it is not a synchronization pattern, and when it is '1', it indicates that it is a synchronization pattern. Regarding the timing of the state determination, the state transition is always determined in the state C1, and the state C
In 2, C3 and C4, the transition state is determined at the falling edge of the prediction synchronization signal S5. Now, assuming that the state is C1, the state transitions to the state C2 only when the synchronization pattern detection signal S3 is "1". In the state C2, the state transitions to the state C3 only when the synchronization pattern detection signal S3 is "1", and otherwise returns to the state C1. In the state C3,
When the synchronization pattern detection signal S3 is "0", it transits to the state C1 and when it is "1", it stays in the state C3 and the uncorrectable signal S
When 2 is '1', the state changes to state C4. In the state C4, if the synchronization pattern detection signal S3 is "1", the state C
Return to 3, and otherwise transition to state C1.
【0025】図3は第1の実施例の動作を説明するため
のタイミング図である。符号化信号S1として図に示す
ように従来例と同様の信号が出力されるものとする。a
〜gは説明のために付加したフレーム名である。フレー
ムdの部分のフレーム周期が短くなっているのは、図の
▼で示した点で編集を行ったためにフレームが切り替わ
っているためである。また、訂正不能信号S2はこの例
ではフレームcの同期パターンの部分で訂正不能となっ
てる。このような符号化信号S1と訂正不能信号S2と
が符号化信号再生部1から出力されるときの動作を説明
する。FIG. 3 is a timing chart for explaining the operation of the first embodiment. It is assumed that the same signal as the conventional example is output as the encoded signal S1 as shown in the figure. a
.. g are frame names added for explanation. The reason why the frame period of the frame d is short is that the frames are switched because the editing is performed at the points indicated by ▼ in the figure. Further, the uncorrectable signal S2 is uncorrectable in the synchronization pattern portion of the frame c in this example. The operation when the encoded signal S1 and the uncorrectable signal S2 are output from the encoded signal reproducing unit 1 will be described.
【0026】同期パターン検出部2は符号化信号S1の
同期パターンを検出したときに‘1’となる同期パター
ン検出信号S3を出力する。訂正不能信号S2が‘1’
の場合は何も出力しない。フレーム情報抽出部3は符号
化信号S1から同期パターン検出信号S3が‘1’にな
った直後のフレーム長情報S4を抽出する。まずはじめ
に、フレームaの同期パターンを検出すると、判定タイ
ミング発生部4は同期パターン検出信号S3を基準とし
てフレーム情報抽出部3の出力したフレーム長Ta後に
予測同期信号S5=‘1’を出力する。以後は各フレー
ムのフレーム長情報S4の示す周期で予測を行い、予測
同期信号S5を出力する。これは同期状態情報S6が状
態C1になるまで続けられる。すなわち、図の例のフレ
ームdを基準としたフレームeの予測のように、符号化
信号S1が訂正不能でないにも拘らず同期パターンが検
出されないか、または、2フレーム連続して同期パター
ンが訂正不能となった場合停止する。その後、次の同期
パターン検出信号S3が‘1’になるのを待ち、フレー
ムaと同様の処理がフレームfから行われる。同期状態
判定部5は訂正不能信号S2と同期パターン検出信号S
3と直前の同期状態情報S6とから図2で説明したよう
に遷移状態を判定し、同期状態情報S6を出力する。復
号化部6は予測同期信号S5をフレーム基準として、同
期状態信号S6が状態C1,C2のとき、すなわち、ア
ンロック状態のときに再生信号S7をミュートし、状態
C3,C4のとき、すなわち、ロック状態のときに符号
化信号S1を復号化し、再生信号S7を出力する。再生
信号S7は従来例と同様、処理遅延によって1フレーム
遅れるため、符号化信号S1のフレームb,c,dの時
刻にフレームa,b,cが、フレームgの時刻にフレー
ムfが出力される。The sync pattern detection section 2 outputs a sync pattern detection signal S3 which becomes "1" when the sync pattern of the coded signal S1 is detected. Uncorrectable signal S2 is "1"
In case of, nothing is output. The frame information extraction unit 3 extracts the frame length information S4 immediately after the synchronization pattern detection signal S3 becomes "1" from the encoded signal S1. First, when the synchronization pattern of the frame a is detected, the determination timing generator 4 outputs the predicted synchronization signal S5 = '1' after the frame length Ta output from the frame information extractor 3 with the synchronization pattern detection signal S3 as a reference. After that, prediction is performed at the cycle indicated by the frame length information S4 of each frame, and the prediction synchronization signal S5 is output. This continues until the synchronization status information S6 becomes the status C1. That is, like the prediction of the frame e based on the frame d in the example of the figure, the sync pattern is not detected even though the encoded signal S1 is not uncorrectable, or the sync pattern is corrected continuously for two frames. If it becomes impossible, stop. After that, the next synchronization pattern detection signal S3 is waited until it becomes '1', and the same processing as the frame a is performed from the frame f. The synchronization state determination unit 5 uses the uncorrectable signal S2 and the synchronization pattern detection signal S
As described in FIG. 2, the transition state is determined from 3 and the immediately preceding synchronization state information S6, and the synchronization state information S6 is output. The decoding unit 6 mutes the reproduction signal S7 when the synchronization state signal S6 is in the states C1 and C2, that is, in the unlock state, and when the synchronization state signal S6 is in the unlock state, using the predicted synchronization signal S5 as the frame reference, and in the states C3 and C4, In the locked state, the encoded signal S1 is decoded and the reproduced signal S7 is output. Since the reproduction signal S7 is delayed by one frame due to the processing delay as in the conventional example, the frames a, b and c are output at the times of the frames b, c and d of the encoded signal S1 and the frame f is output at the time of the frame g. ..
【0027】以上のように、第1の実施例によれば、同
期状態判定部5によって同期状態情報S6を管理し、同
期状態情報S6によって復号化処理のミュート制御を行
うため、編集等によって符号化フレームの周期が乱れた
ときに誤って復号化し、再生信号S7にノイズを生じて
しまうことがなく、また、判定タイミング発生部4によ
って予測したポイントに同期パターンが来ないときに状
態C1にすることで次の予測を止めるため、同期の再引
き込みも早くなり、従来例に比べて1フレーム前から可
能となっている。As described above, according to the first embodiment, the synchronization state determination unit 5 manages the synchronization state information S6 and the synchronization state information S6 controls the mute of the decoding process. When the cycle of the encoded frame is disturbed, decoding is not performed by mistake, noise is not generated in the reproduction signal S7, and when the synchronization pattern does not come to the point predicted by the determination timing generation unit 4, the state is set to C1. As a result, the next prediction is stopped, so that the synchronization can be re-pulled in earlier, which is possible from one frame before in comparison with the conventional example.
【0028】図4は、本発明の第2の実施例における符
号化信号復号化装置の構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of the coded signal decoding apparatus according to the second embodiment of the present invention.
【0029】図4において、1は符号化信号再生部、2
は同期パターン検出部、3はフレーム情報抽出部、41
は第1の判定タイミング発生部、42は第1の同期状態
判定部、43は第2の判定タイミング発生部、44は第
2の同期状態判定部、45は状態遷移制御部、6は復号
化部である。In FIG. 4, 1 is a coded signal reproducing section, 2
Is a synchronization pattern detection unit, 3 is a frame information extraction unit, 41
Is a first determination timing generation unit, 42 is a first synchronization state determination unit, 43 is a second determination timing generation unit, 44 is a second synchronization state determination unit, 45 is a state transition control unit, and 6 is decoding. It is a department.
【0030】符号化信号再生部1,同期パターン検出部
2,フレーム情報抽出部3,復号化部6は第1の実施例
と同じものである。また、第1の判定タイミング発生部
41と第2の判定タイミング発生部43とはそれぞれ第
1の実施例の判定タイミング発生部4と同じものであ
る。また、第1の同期状態判定部42と第2の同期状態
判定部44とは第1の実施例の同期状態判定部5と状態
遷移を許可する制御を行うことを除いて同様である。The coded signal reproducing section 1, the sync pattern detecting section 2, the frame information extracting section 3, and the decoding section 6 are the same as those in the first embodiment. The first determination timing generation unit 41 and the second determination timing generation unit 43 are the same as the determination timing generation unit 4 of the first embodiment. The first synchronization state determination unit 42 and the second synchronization state determination unit 44 are the same as the synchronization state determination unit 5 of the first embodiment except that control is performed to permit state transition.
【0031】以上のように構成された第2の実施例の符
号化信号復号化装置について、以下その動作を説明す
る。The operation of the coded signal decoding apparatus of the second embodiment having the above configuration will be described below.
【0032】符号化信号再生部1は第1の実施例と同様
に符号化信号S1と訂正不能信号S2を出力する。同期
パターン検出部2は符号化信号S1から同期パターンを
抽出し、同期パターン検出信号S3を出力する。フレー
ム情報抽出部3は符号化信号S1から、同期パターンに
対して予め定められた位置にあるフレーム長情報S4を
抽出し出力する。第1の判定タイミング発生部41は同
期パターン検出信号S3とフレーム長情報S4と第1の
同期状態情報S42とから、第1の同期状態情報S42
が状態C2,C3,C4のときに同期パターン検出時刻
を基準にしてフレーム長情報S4によって次の同期パタ
ーンが来るべき時刻を予測して第1の予測同期信号S4
1を出力する。すなわち、このとき第1の実施例の判定
タイミング発生部4と同じ動作をする。状態C1のとき
は第1の予測同期信号S41は停止する。第1の同期状
態判定部42は訂正不能信号S2と同期パターン検出信
号S3と予測同期信号S41と第1の同期状態情報S4
2と第1の状態遷移制御信号S45とから次の状態を判
定し、第1の同期状態情報S42を出力する。また、第
2の判定タイミング発生部43は同期パターン検出信号
S3とフレーム長情報S4と第2の同期状態情報S44
とから、第2の同期状態情報S44が状態C2,C3,
C4のときに同期パターン検出時刻を基準にしてフレー
ム長情報S4によって次の同期パターンが来るべき時刻
に第2の予測同期信号S43を出力する。すなわち、こ
のとき第1の実施例の判定タイミング発生部4と同じ動
作をする。状態C1のときは第2の予測同期信号S43
は停止する。第2の同期状態判定部44は訂正不能信号
S2と同期パターン検出信号S3と第2の予測同期信号
S43と第2の同期状態情報S44と第2の状態遷移制
御信号S46とから次の状態を判定し、第2の同期状態
情報S44を出力する。状態遷移制御部45は第1の予
測同期信号S41と第1の同期状態情報S42と第2の
予測同期信号S43と第2の同期状態情報S44とか
ら、第1の状態遷移制御信号S45と第2の状態遷移制
御信号S46とによって、それぞれ第1の同期状態判定
部42と第2の同期状態判定部44との状態遷移のどち
らか片方だけを許可する。すなわち、1つの同期パター
ン検出信号S3または訂正不能の場合、予測同期信号
が、どちらか一方の優先度の高い同期状態判定にだけに
作用するように働く。また、第1の同期状態情報S42
と第2の同期状態情報S44のうち遷移が許可されてい
る方の同期状態情報を第3の同期状態情報S48として
出力する。第1の予測同期信号S41と第2の予測同期
信号S43の論理和信号を第3の予測同期信号S47と
して出力する。復号化部6は符号化信号S1を第3の予
測同期信号S47で示されるタイミングを基準として、
第3の同期状態情報S48の示す状態に従って直前の1
フレームを復号化し、再生信号S7を出力する。The coded signal reproducing section 1 outputs the coded signal S1 and the uncorrectable signal S2 as in the first embodiment. The synchronization pattern detection unit 2 extracts a synchronization pattern from the encoded signal S1 and outputs a synchronization pattern detection signal S3. The frame information extraction unit 3 extracts the frame length information S4 at a predetermined position with respect to the synchronization pattern from the encoded signal S1 and outputs it. The first determination timing generator 41 determines the first synchronization status information S42 from the synchronization pattern detection signal S3, the frame length information S4, and the first synchronization status information S42.
Is in the states C2, C3, C4, the first predicted sync signal S4 is obtained by predicting the time when the next sync pattern will come based on the sync pattern detection time based on the frame length information S4.
1 is output. That is, at this time, the same operation as that of the determination timing generator 4 of the first embodiment is performed. In the state C1, the first prediction synchronization signal S41 is stopped. The first synchronization state determination unit 42 uses the uncorrectable signal S2, the synchronization pattern detection signal S3, the predicted synchronization signal S41, and the first synchronization state information S4.
2 and the first state transition control signal S45 to determine the next state, and output the first synchronization state information S42. In addition, the second determination timing generation unit 43 uses the synchronization pattern detection signal S3, the frame length information S4, and the second synchronization state information S44.
Therefore, the second synchronization status information S44 indicates that the statuses C2, C3,
At the time of C4, the second predicted synchronization signal S43 is output at the time when the next synchronization pattern should come according to the frame length information S4 with reference to the synchronization pattern detection time. That is, at this time, the same operation as that of the determination timing generator 4 of the first embodiment is performed. In the state C1, the second predicted synchronization signal S43
Will stop. The second synchronization state determination unit 44 determines the next state from the uncorrectable signal S2, the synchronization pattern detection signal S3, the second predicted synchronization signal S43, the second synchronization state information S44, and the second state transition control signal S46. It is determined and the second synchronization status information S44 is output. The state transition control unit 45 determines the first state transition control signal S45 and the first state transition control signal S45 from the first predicted synchronization signal S41, the first synchronization state information S42, the second predicted synchronization signal S43, and the second synchronization state information S44. The second state transition control signal S46 permits only one of the state transitions of the first synchronization state determination unit 42 and the second synchronization state determination unit 44, respectively. That is, in the case of one synchronization pattern detection signal S3 or uncorrectable, the predicted synchronization signal acts only on one of the synchronization state determinations having a higher priority. Also, the first synchronization status information S42
And the synchronization state information of the one of the second synchronization state information S44 that is permitted to be transitioned is output as the third synchronization state information S48. The logical sum signal of the first prediction synchronization signal S41 and the second prediction synchronization signal S43 is output as the third prediction synchronization signal S47. The decoding unit 6 uses the encoded signal S1 as a reference with respect to the timing indicated by the third prediction synchronization signal S47.
The immediately preceding 1 according to the state indicated by the third synchronization state information S48.
The frame is decoded and the reproduction signal S7 is output.
【0033】第1の状態判定部42と第2の状態判定部
44との状態判定条件は、第1の状態遷移制御信号S4
5と第2の状態遷移制御信号S46によって状態の遷移
を止めることがあることを除いて第1の実施例の中で図
2によって説明したものと同様であるのでこの説明は省
略する。The state determination conditions of the first state determination section 42 and the second state determination section 44 are the first state transition control signal S4.
The description is omitted because it is the same as that described in FIG. 2 in the first embodiment except that the state transition may be stopped by 5 and the second state transition control signal S46.
【0034】図5は状態遷移制御部45の動作を説明す
るための図である。図は状態遷移制御部45が第1の同
期状態情報S42と第2の同期状態情報S44とから第
1の同期状態判定部42か第2の同期状態判定部44か
のどちらの状態遷移を許可するかを‘1’,‘2’で示
したものである。図中の×印は発生しない組み合わせで
ある。この許可制御は第1の同期状態判定部42と第2
の同期状態判定部44の両方が同時に状態遷移をする条
件となった場合にのみ行われ、どちらか片方が状態遷移
できる条件の時は、そちらが状態遷移し、制御動作は行
わない。例えば、第1の同期状態情報S42が状態C3
で、第2の同期状態情報S44が状態C1の場合、第1
の予測同期信号S41と同期パターン検出信号S3が時
間的に一致していると、両方の状態遷移の判定タイミン
グが同時となるので、図から第1の同期状態判定部42
のみの状態遷移が許可され、第2の同期状態情報はC1
のままとなる。FIG. 5 is a diagram for explaining the operation of the state transition control unit 45. In the figure, the state transition control unit 45 permits the state transition of either the first synchronization state determination unit 42 or the second synchronization state determination unit 44 from the first synchronization state information S42 and the second synchronization state information S44. This is indicated by "1" or "2". The crosses in the figure are combinations that do not occur. This permission control is performed by the first synchronization state determination unit 42 and the second synchronization state determination unit 42.
This is performed only when both of the synchronous state determination units 44 of (1) and (2) are in a condition of simultaneously making a state transition, and when one of them is in a condition of being able to make a state transition, that state makes a state transition and no control operation is performed. For example, if the first synchronization status information S42 is status C3
If the second synchronization state information S44 is the state C1, then the first
If the predicted synchronization signal S41 of 1 and the synchronization pattern detection signal S3 temporally coincide with each other, the determination timings of both state transitions become the same, and therefore the first synchronization state determination unit 42 from the figure.
Only the state transition is permitted, and the second synchronization state information is C1.
Will remain.
【0035】図6は第2の実施例の動作を説明するため
のタイミング図である。符号化信号S1と訂正不能信号
S2は図に示すように第1の実施例と同様の信号が出力
されるものとする。このような符号化信号S1と訂正不
能信号S2とが符号化信号再生部1から出力されるとき
の動作を説明する。FIG. 6 is a timing chart for explaining the operation of the second embodiment. As the coded signal S1 and the uncorrectable signal S2, the same signals as in the first embodiment are output as shown in the figure. The operation when the encoded signal S1 and the uncorrectable signal S2 are output from the encoded signal reproducing unit 1 will be described.
【0036】同期パターン検出部2とフレーム情報抽出
部3の動作は第1の実施例と全く同じであるので説明は
省略する。状態遷移制御部45は、はじめ第1の同期状
態情報S42と第2の同期状態情報S44が共に状態C
1であるため第1の状態遷移制御信号S45だけを
‘1’にして、第1の同期状態判定部42のみを状態遷
移可能にする。最初、フレームaの同期パターンによっ
て第1の同期状態情報が状態C2となると、第1の同期
状態判定部42の判定タイミングは第1の予測同期信号
S41の立ち下がりだけとなるので、第2の状態遷移制
御信号S46は第1の予測同期信号が‘1’の期間だけ
図5の優先順位により第2の状態遷移制御信号S46を
‘0’にして、このときの第2の同期状態判定部44の
状態遷移を止める。従って、図の▼で示された符号化信
号S1の切り替わり点までの第1の判定タイミング発生
部41と第1の同期状態判定部42の動作はそれぞれ第
1の実施例の判定タイミング発生部4と同期状態判定部
5の動作と同様となる。次に、図の▼で示された符号化
信号S1の切り替わり点の直後でフレームeの同期パタ
ーン検出信号S3が入力されるが、第1の同期状態判定
部42は状態C3であるので状態判定タイミングは第1
の予測同期信号S41の立ち下がりのみであり、状態遷
移は起こらず、第2の同期状態判定部44が状態C2と
なる。この直後、第1の同期状態判定部42は訂正不能
信号S2が‘0’にも拘らず同期パターン検出信号S3
が‘0’なため状態C1となる。次のフレームfの同期
パターン検出信号S3が‘1’となったとき、第1の同
期状態情報S42は状態C1であるが第2の同期状態情
報が状態C2であるため第2の同期状態判定部44の優
先度が高く、第2の同期状態情報S44が状態C3とな
る。以後は、第2の状態遷移制御信号S46が第2の予
測同期信号S43の‘1’のときに‘1’となり、第2
の同期状態判定部44のロック状態が続く。第3の同期
状態情報S48は図5に従って第1の同期状態情報S4
2と第2の同期状態情報S44のうち優先度の高い方の
状態が出力されるため、図6に示すようになる。復号化
部6は第3の予測同期信号S47をフレーム基準とし
て、同期状態信号S6が状態C1,C2の時に再生信号
S7をミュートし、状態C3,C4の時に符号化信号S
1を復号化し再生信号S7を出力する。再生信号S7は
第1の実施例と同様処理遅延によって符号化信号S1に
対して1フレーム遅れる。Since the operations of the synchronization pattern detecting section 2 and the frame information extracting section 3 are exactly the same as those in the first embodiment, their explanations are omitted. The state transition control unit 45 initially sets both the first synchronization state information S42 and the second synchronization state information S44 to the state C.
Since it is 1, only the first state transition control signal S45 is set to "1", and only the first synchronization state determination unit 42 is allowed to undergo state transition. First, when the first synchronization state information becomes the state C2 due to the synchronization pattern of the frame a, the determination timing of the first synchronization state determination unit 42 is only the trailing edge of the first predicted synchronization signal S41. The state transition control signal S46 sets the second state transition control signal S46 to "0" according to the priority order of FIG. 5 only during the period when the first predicted synchronization signal is "1", and the second synchronization state determination unit at this time Stop the state transition of 44. Therefore, the operations of the first determination timing generation unit 41 and the first synchronization state determination unit 42 up to the switching point of the encoded signal S1 shown by ▼ in the drawing are the same as the determination timing generation unit 4 of the first embodiment. And the operation of the synchronization state determination unit 5 is the same. Next, the synchronization pattern detection signal S3 of the frame e is input immediately after the switching point of the encoded signal S1 shown by ▼ in the figure, but the first synchronization state determination unit 42 is in the state C3. Timing is first
Only the trailing edge of the predicted synchronization signal S41 of (1), the state transition does not occur, and the second synchronization state determination unit 44 enters the state C2. Immediately after this, the first synchronization state determination unit 42 determines that the uncorrectable signal S2 is "0", but the synchronization pattern detection signal S3.
Is 0, the state becomes C1. When the synchronization pattern detection signal S3 of the next frame f becomes '1', the first synchronization state information S42 is the state C1 but the second synchronization state information is the state C2, so the second synchronization state determination is made. The priority of the unit 44 is high, and the second synchronization status information S44 becomes the status C3. After that, when the second state transition control signal S46 is "1" of the second predicted synchronization signal S43, it becomes "1",
The synchronization state determination unit 44 continues to be locked. The third synchronization status information S48 is the first synchronization status information S4 according to FIG.
Since the higher priority state of the second and second synchronization state information S44 is output, the state is as shown in FIG. The decoding unit 6 mutes the reproduction signal S7 when the synchronization state signal S6 is in the states C1 and C2, and the encoded signal S in the states C3 and C4 with the third predicted synchronization signal S47 as the frame reference.
1 is decoded and a reproduction signal S7 is output. The reproduction signal S7 is delayed by one frame with respect to the encoded signal S1 by the processing delay as in the first embodiment.
【0037】以上のように、第2の実施例によれば、第
1の同期状態判定部42と第2の同期状態判定部44と
の同期状態の遷移を状態遷移制御部45によって選択
し、一方が同期ロック中の時に、もう一方が同期ロック
していない同期パターンをチェックするように動作する
ため、編集等によって符号化フレームの周期が乱れたと
きに早く同期の再引き込みを行うことができる。本実施
例では、従来例に対し2フレーム前から再引き込みが可
能となっている。As described above, according to the second embodiment, the state transition control unit 45 selects the transition of the synchronization state between the first synchronization state determination unit 42 and the second synchronization state determination unit 44, When one is in the synchronization lock, the other operates so as to check the synchronization pattern that is not in the synchronization lock. Therefore, when the cycle of the encoded frame is disturbed by editing or the like, the synchronization can be re-pulled in quickly. .. In this embodiment, re-drawing can be performed from two frames before the conventional example.
【0038】[0038]
【発明の効果】以上のように本発明の符号化信号復号化
装置は、符号化信号中の正しいフレーム同期を早く確実
に検出することができ、伝送信号の切り換えや、記録媒
体上での編集等によるオーバーライトによって符号化信
号が不連続になった場合にも、誤った復号化によってノ
イズを生ずることがなく、復号化開始時の同期引き込み
やフレーム切り替わり時の追従を早く確実にすることが
できる。As described above, the coded signal decoding apparatus of the present invention can quickly and surely detect the correct frame synchronization in the coded signal, switch the transmission signal, and edit on the recording medium. Even if the encoded signal becomes discontinuous due to overwriting due to, etc., noise will not occur due to incorrect decoding, and synchronization pull-in at the start of decoding and follow-up at frame switching can be ensured quickly. it can.
【0039】特に、ディスクやテープ媒体に記録された
信号を早送り再生等の特殊再生をするときのように符号
化信号の不連続が頻繁に発生する場合にその効果は大き
い。Particularly, the effect is great when the discontinuity of the coded signal frequently occurs, such as when performing special reproduction such as fast-forward reproduction of the signal recorded on the disk or tape medium.
【図1】本発明の第1の実施例における符号化信号復号
化装置の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of a coded signal decoding device according to a first embodiment of the present invention.
【図2】(a)は同第1の実施例における同期状態判定
部5の状態遷移条件の一例を示す説明図 (b)は同第1の実施例における同期状態判定部5の状
態遷移図FIG. 2A is an explanatory diagram showing an example of a state transition condition of the synchronization state determination unit 5 in the first embodiment. FIG. 2B is a state transition diagram of the synchronization state determination unit 5 in the first embodiment.
【図3】同第1の実施例における符号化信号復号化装置
の動作を説明するためのタイミング図FIG. 3 is a timing chart for explaining the operation of the coded signal decoding apparatus in the first embodiment.
【図4】本発明の第2の実施例における符号化信号復号
化装置の構成を示すブロック図FIG. 4 is a block diagram showing a configuration of a coded signal decoding device according to a second embodiment of the present invention.
【図5】同第2の実施例における状態遷移制御部45の
状態遷移制御動作を説明する説明図FIG. 5 is an explanatory diagram illustrating a state transition control operation of a state transition control unit 45 in the second embodiment.
【図6】同第2の実施例における符号化信号復号化装置
の動作を説明するためのタイミング図FIG. 6 is a timing chart for explaining the operation of the coded signal decoding device according to the second embodiment.
【図7】従来の圧縮符号化信号記録再生装置の構成を示
すブロック図FIG. 7 is a block diagram showing a configuration of a conventional compression coded signal recording / reproducing device.
【図8】符号化信号のフレーム構成の一例を示した模式
図FIG. 8 is a schematic diagram showing an example of a frame configuration of an encoded signal.
【図9】従来の圧縮符号化信号記録再生装置の動作上の
問題点を説明するためのタイミング図FIG. 9 is a timing chart for explaining problems in the operation of the conventional compression coded signal recording / reproducing apparatus.
1 符号化信号再生部 2 同期パターン検出部 3 フレーム情報抽出部 4 判定タイミング発生部 5 同期状態判定部 6 復号化部 1 coded signal reproducing unit 2 synchronization pattern detecting unit 3 frame information extracting unit 4 determination timing generating unit 5 synchronization state determining unit 6 decoding unit
Claims (2)
し、これにフレーム同期のためのフレーム同期パターン
とフレーム長等の情報を伝えるためのフレーム情報とを
付加した符号化信号の復号化に用いられる符号化信号復
号化装置であって、 伝送路や記録媒体からの信号に誤り訂正を行い、符号化
信号と訂正不能信号を出力する符号化信号再生手段と、 前記符号化信号と前記訂正不能信号とから同期パターン
を抽出し、同期パターン検出信号を出力する同期パター
ン検出手段と、 前記符号化信号と同期パターン検出信号とを入力して、
符号化信号中の同期パターンに対して予め定められた位
置に記録されている前記フレーム長情報を抽出し出力す
るフレーム情報抽出手段と、 前記同期パターン検出信号と前記フレーム長情報と同期
状態情報とから、同期状態情報に従って同期パターン検
出時刻を基準にして前記フレーム長情報によって次の同
期パターンが来るべき時刻に予測同期信号を出力する判
定タイミング発生手段と、 前記訂正不能信号と前記同期パターン検出信号と前記予
測同期信号とを入力し、これらの信号によって現在の同
期状態情報から次の状態を判定し、同期アンロック状態
及び同期ロック状態を示す同期状態情報を出力する同期
状態判定手段と、 前記符号化信号と前記予測同期信号と前記同期状態信号
とを入力し、前記符号化信号を前記予測同期信号で示さ
れるタイミングを基準として、前記同期状態情報の示す
状態に従ってミュートあるいは符号化信号1フレームを
復号化した再生信号を出力する復号化手段とを有するこ
とを特徴とする符号化信号復号化装置。1. Use for decoding a coded signal in which a signal such as voice is coded in frame units and a frame synchronization pattern for frame synchronization and frame information for transmitting information such as frame length are added thereto. A coded signal decoding device for performing error correction on a signal from a transmission line or a recording medium, and outputting a coded signal and an uncorrectable signal, the coded signal and the uncorrectable signal A sync pattern is extracted from the signal, and a sync pattern detection unit that outputs a sync pattern detection signal, and the coded signal and the sync pattern detection signal are input,
Frame information extracting means for extracting and outputting the frame length information recorded at a predetermined position with respect to the synchronization pattern in the encoded signal, the synchronization pattern detection signal, the frame length information, and synchronization state information. From the synchronization state information, the determination timing generating means for outputting a predicted synchronization signal at the time when the next synchronization pattern should come according to the frame length information based on the synchronization pattern detection time, the uncorrectable signal and the synchronization pattern detection signal And a synchronization state determination means for inputting the predicted synchronization signal, determining the next state from the current synchronization state information by these signals, and outputting synchronization state information indicating a synchronization unlock state and a synchronization lock state, Input a coded signal, the prediction synchronization signal, and the synchronization state signal, and indicate the coded signal by the prediction synchronization signal. Based on the timing of, coded signal decoding apparatus characterized by having a decoding means for outputting a reproduced signal obtained by decoding the muting or coded signal frame according to the state indicated by the synchronization status information.
し、これにフレーム同期のためのフレーム同期パターン
とフレーム長等の情報を伝えるためのフレーム情報とを
付加した符号化信号の復号化に用いられる符号化信号復
号化装置であって、 伝送路や記録媒体からの信号に誤り訂正を行い、符号化
信号と訂正不能信号を出力する符号化信号再生手段と、 前記符号化信号と前記訂正不能信号とから同期パターン
を抽出し、同期パターン検出信号を出力する同期パター
ン検出手段と、 前記符号化信号と同期パターン検出信号とを入力して、
符号化信号中の同期パターンに対して予め定められた位
置に記録されている前記フレーム長情報を抽出し出力す
るフレーム情報抽出手段と、 前記同期パターン検出信号と前記フレーム長情報と第1
の同期状態情報とから、第1の同期状態情報に従って同
期パターン検出時刻を基準にして前記フレーム長情報に
よって次の同期パターンが来るべき時刻に第1の予測同
期信号を出力する第1の判定タイミング発生手段と、 前記訂正不能信号と前記同期パターン検出信号と前記第
1の予測同期信号と第1の状態遷移制御信号とを入力
し、第1の状態遷移制御信号によって状態遷移が許可さ
れている場合に、現在の第1の同期状態情報から次の状
態を判定し、同期アンロック状態及び同期ロック状態を
示す第1の同期状態情報を出力する第1の同期状態判定
手段と、 前記同期パターン検出信号と前記フレーム長情報と第2
の同期状態情報とから、第2の同期状態情報に従って同
期パターン検出時刻を基準にして前記フレーム長情報に
よって次の同期パターンが来るべき時刻に第2の予測同
期信号を出力する第2の判定タイミング発生手段と、 前記訂正不能信号と前記同期パターン検出信号と前記第
2の予測同期信号と第2の状態遷移制御信号とを入力
し、第2の状態遷移制御信号によって状態遷移が許可さ
れている場合に、現在の第2の同期状態情報から次の状
態を判定し、同期アンロック状態及び同期ロック状態を
示す第2の同期状態情報を出力する第2の同期状態判定
手段と、 前記第1の予測同期信号と前記第1の同期状態情報と前
記第2の予測同期信号と前記第2の同期状態情報とを入
力し、前記第1の同期状態情報と前記第2の同期状態情
報とから前記第1の同期状態判定手段と前記第2の同期
状態判定手段とのうちどちらか片方だけの状態遷移を許
可するための前記第1の状態遷移制御信号と前記第2の
状態遷移制御信号とを出力し、遷移が許可されている方
の予測同期信号と同期状態情報をそれぞれ第3の予測同
期信号と第3の同期状態情報として出力する状態遷移制
御手段と、 前記符号化信号と前記第3の予測同期信号と前記第3の
同期状態信号とを入力し、前記符号化信号を前記第3の
予測同期信号で示されるタイミングを基準として、前記
第3の同期状態情報の示す状態に従ってミュートあるい
は符号化信号1フレームを復号化した再生信号を出力す
る復号化手段とを有することを特徴とする符号化信号復
号化装置。2. Use for decoding a coded signal in which a signal such as voice is coded in frame units, and a frame synchronization pattern for frame synchronization and frame information for transmitting information such as frame length are added to the coded signal. A coded signal decoding device for performing error correction on a signal from a transmission line or a recording medium, and outputting a coded signal and an uncorrectable signal, the coded signal and the uncorrectable signal A sync pattern is extracted from the signal, and a sync pattern detection unit that outputs a sync pattern detection signal, and the coded signal and the sync pattern detection signal are input,
Frame information extraction means for extracting and outputting the frame length information recorded at a predetermined position with respect to the synchronization pattern in the encoded signal; the synchronization pattern detection signal, the frame length information, and the first
From the synchronization state information of the first synchronization state information, the first determination timing for outputting the first predicted synchronization signal at the time when the next synchronization pattern should come based on the frame length information based on the synchronization pattern detection time. Generating means, the uncorrectable signal, the synchronization pattern detection signal, the first predictive synchronization signal, and the first state transition control signal are input, and the state transition is permitted by the first state transition control signal. In this case, first synchronization state determination means for determining the next state from the current first synchronization state information and outputting first synchronization state information indicating a synchronization unlock state and a synchronization lock state, and the synchronization pattern Detection signal, frame length information, and second
Second synchronization timing information based on the synchronization state detection time according to the second synchronization state information, and a second prediction synchronization signal is output at the time when the next synchronization pattern should come based on the frame length information. Generating means, the uncorrectable signal, the synchronization pattern detection signal, the second predictive synchronization signal, and the second state transition control signal are input, and the state transition is permitted by the second state transition control signal. In this case, a second synchronization state determination unit that determines the next state from the current second synchronization state information and outputs second synchronization state information indicating a synchronization unlock state and a synchronization lock state; From the first synchronization state information and the second synchronization state information by inputting the first synchronization state information, the first synchronization state information, the second prediction synchronization signal, and the second synchronization state information. Previous A first state transition control signal and a second state transition control signal for permitting a state transition of only one of the first synchronization state determination means and the second synchronization state determination means. State transition control means for outputting and outputting the predicted synchronization signal and synchronization state information of which transition is permitted as the third predicted synchronization signal and the third synchronization state information, respectively, the coded signal and the third state. The predicted synchronization signal and the third synchronization state signal are input, and the encoded signal is muted according to the state indicated by the third synchronization state information with reference to the timing indicated by the third predicted synchronization signal. A coded signal decoding device, comprising: decoding means for outputting a reproduction signal obtained by decoding one frame of the coded signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4020941A JP2630150B2 (en) | 1992-02-06 | 1992-02-06 | Encoded signal decoding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4020941A JP2630150B2 (en) | 1992-02-06 | 1992-02-06 | Encoded signal decoding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05219045A true JPH05219045A (en) | 1993-08-27 |
| JP2630150B2 JP2630150B2 (en) | 1997-07-16 |
Family
ID=12041233
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4020941A Expired - Fee Related JP2630150B2 (en) | 1992-02-06 | 1992-02-06 | Encoded signal decoding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2630150B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08274768A (en) * | 1995-03-30 | 1996-10-18 | Nec Corp | Synchronizing circuit |
| JP2011199480A (en) * | 2010-03-18 | 2011-10-06 | Renesas Electronics Corp | Receiver, and method of demodulating frame used for the same |
-
1992
- 1992-02-06 JP JP4020941A patent/JP2630150B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08274768A (en) * | 1995-03-30 | 1996-10-18 | Nec Corp | Synchronizing circuit |
| JP2011199480A (en) * | 2010-03-18 | 2011-10-06 | Renesas Electronics Corp | Receiver, and method of demodulating frame used for the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2630150B2 (en) | 1997-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4393419A (en) | Synchronizing signal detection protective circuit | |
| JP2630150B2 (en) | Encoded signal decoding device | |
| JP3060742B2 (en) | Encoded signal decoding device | |
| JPH0461669A (en) | Vtr | |
| EP2164255A1 (en) | Video recording and playback apparatus | |
| JPS6354088A (en) | Method and apparatus for abstracting binary signal contained in vertical blanking space of video signal | |
| US5451999A (en) | Method and apparatus for detecting stability of a digital component video signal | |
| JPH06338148A (en) | Coded signal decoding device | |
| JP3321884B2 (en) | Synchronous block detection method and synchronous block detection device | |
| JPH06132923A (en) | Digital data receiving circuit | |
| JP3301695B2 (en) | Encoded signal decoding device | |
| JP4336594B2 (en) | Playback device | |
| JP3923553B2 (en) | Synchronizer for video / audio processor | |
| JP3534600B2 (en) | Digital signal recording / playback device | |
| JP2004194139A (en) | Recording / playback device | |
| JP2000260131A (en) | Synchronous signal detection protection method and detection protection circuit | |
| JP2002034002A (en) | Video synchronization method and recording / reproducing device | |
| JP2792228B2 (en) | Magnetic disk drive | |
| JPH0431213B2 (en) | ||
| JPH11120712A (en) | Time code detector | |
| JP2001023302A (en) | Digital signal recording method and reproduction method | |
| JPS63129562A (en) | Data reproducing device | |
| JPH09205417A (en) | Transmission equipment | |
| JPH08212705A (en) | Synchronizing circuit | |
| JPH07105632A (en) | Sync signal detection method and circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |