[go: up one dir, main page]

JPH08161834A - Encoder - Google Patents

Encoder

Info

Publication number
JPH08161834A
JPH08161834A JP29717094A JP29717094A JPH08161834A JP H08161834 A JPH08161834 A JP H08161834A JP 29717094 A JP29717094 A JP 29717094A JP 29717094 A JP29717094 A JP 29717094A JP H08161834 A JPH08161834 A JP H08161834A
Authority
JP
Japan
Prior art keywords
bit
run length
output
circuit
inversion
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.)
Pending
Application number
JP29717094A
Other languages
Japanese (ja)
Inventor
Michihiro Fukushima
道弘 福島
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
Original Assignee
Toshiba 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 filed Critical Toshiba Corp
Priority to JP29717094A priority Critical patent/JPH08161834A/en
Publication of JPH08161834A publication Critical patent/JPH08161834A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/14Digital recording or reproducing using self-clocking codes
    • G11B20/1403Digital recording or reproducing using self-clocking codes characterised by the use of two levels
    • G11B20/1423Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code
    • G11B20/1426Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code conversion to or from block codes or representations thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE: To relieve the restriction on processing time for run length detection of modulated output by comparing the max. run lengths of the data to be modulated, outputting the result of the comparison to apply the smaller max. run length and outputting the result of the comparison as a selection signal after inversion or non-inversion. CONSTITUTION: A 0 is added as a control bit by a '0' adding circuit 11 to the inputted data to be modulated and this data is inputted to a precoder 12. This precoder 12 converts the input to I-NRZI. The precoder 12 executes conversion by normally using 00 as the final bit of the modulated output of the previous word. The converted output of the precoder 12 is inputted via a bit inversion circuit 13 to a holding circuit 10. The circuit 13 outputs the respective inputted bits to the holding circuit 10 after inversion or non-inversion in accordance with the modulated output and the output of a determining circuit 15. A run length detecting circuit 14 determines the max. length of the present word for 1 and 0 of the control bit in accordance with the modulated outputs from the precoder 12 and the circuit 10 and outputs the selection signal to select the control bit to apply the max. length to the determining circuit 15, thereby controlling the bit inversion processing of the circuit 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[発明の目的][Object of the Invention]

【産業上の利用分野】本発明は、24−25変調装置等
に好適な符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoder suitable for a 24-25 modulator and the like.

【0002】[0002]

【従来の技術】近年、ディジタル技術の進歩に伴い、画
像情報もディジタル処理されるようになり、例えばディ
ジタルのビデオテープレコーダ(以下、VTRともい
う)も開発されている。ディジタル信号の伝送及び記録
においては、低周波領域の信号成分を高効率で伝送又は
記録することが困難であることから、直流及び低周波領
域の信号成分を抑制するための平衡符号への変調、すな
わち、DCフリー変調が多く用いられている。
2. Description of the Related Art In recent years, with the progress of digital technology, image information has been digitally processed, and, for example, a digital video tape recorder (hereinafter also referred to as VTR) has been developed. In the transmission and recording of digital signals, it is difficult to transmit or record the signal components in the low frequency region with high efficiency. Therefore, modulation to a balanced code for suppressing the signal components in the direct current and low frequency regions, That is, DC-free modulation is often used.

【0003】DCフリー変調においては、一般的に、記
録変調信号の電荷蓄積値(DSV)(Digital Sum Valu
e )の絶対値を小さくするようにしている。即ち、1コ
ードに対して、CDS(Code Digital Sum )(コード
の記録波形の“0”と“1”の数の差を示す)が異なる
複数のコードを割当て、DSVの絶対値を小さくするた
めのコードを選択することで、DCフリーを達成する。
In DC-free modulation, the charge accumulation value (DSV) (Digital Sum Valu) of a recording modulation signal is generally used.
The absolute value of e) is made small. That is, in order to reduce the absolute value of the DSV by allocating a plurality of codes having different CDS (Code Digital Sum) (indicating the difference between the number “0” and “1” of the recorded waveform of the code) to one code. DC free is achieved by selecting the code of.

【0004】ところで、VTRにおいては、磁気ヘッド
が記録トラックを確実にトレースするように、トラッキ
ング制御を行っている。この場合、高密度記録を達成す
るために、パイロット信号を用いたトラッキング法を採
用することが考えられる。パイロット信号はアジマス角
度が相違する隣接したトラックから再生する。従って、
パイロット信号の周波数としてはアジマスロス効果が比
較的小さい低域周波数を選択する。アナログVTRにお
いてパイロット方式を採用した場合には、主信号である
FM変調輝度信号及び低域変換色信号は低域にスペクト
ラムを有していないので、パイロット信号による妨害は
発生しない。しかし、ディジタルVTRでは、主信号の
占有帯域が限定されないので、パイロット信号と主信号
とを相互に独立して周波数多重することはできず、相互
に妨害成分となってしまう。
By the way, in the VTR, tracking control is performed so that the magnetic head traces the recording track surely. In this case, it may be possible to adopt a tracking method using a pilot signal in order to achieve high density recording. The pilot signal is reproduced from adjacent tracks having different azimuth angles. Therefore,
As the frequency of the pilot signal, a low frequency band in which the azimuth loss effect is relatively small is selected. When the pilot method is adopted in the analog VTR, the FM-modulated luminance signal and the low-frequency conversion color signal, which are the main signals, do not have a spectrum in the low frequency band, so that the interference by the pilot signal does not occur. However, since the occupied band of the main signal is not limited in the digital VTR, the pilot signal and the main signal cannot be frequency-multiplexed independently of each other, and they become mutual interference components.

【0005】そこで、ディジタルVTRにおいては、記
録変調信号のDSVを故意に変動させることで、パイロ
ット信号となる低域成分(以下、ディジタルパイロット
トーンという)を発生させる変調方法を採用する。この
変調方法では、主信号自体のスペクトラムが特定の低域
に集中するだけで、特に他の信号が発生しているのでは
なく、主信号に対する妨害波を多重するのではないから
有効である。このようなトラッキングのためのディジタ
ルパイロットトーンを発生させる従来の符号化装置につ
いては、24−25変調を採用した特開平5−2840
34号公報にて開示されたものがある。
Therefore, the digital VTR employs a modulation method in which a low frequency component (hereinafter, referred to as a digital pilot tone) which becomes a pilot signal is generated by intentionally varying the DSV of a recording modulation signal. This modulation method is effective because the spectrum of the main signal itself is concentrated in a specific low frequency band, other signals are not particularly generated, and an interference wave with respect to the main signal is not multiplexed. As for a conventional encoder for generating a digital pilot tone for such tracking, Japanese Patent Laid-Open No. 5-2840 adopting 24-25 modulation.
There is one disclosed in Japanese Patent No. 34.

【0006】また、磁気記録においては、記録周波数が
高くなるにつれて出力特性が劣化する。従って、ディジ
タル記録では最小磁化反転間隔を大きくすること、即
ち、最小パルス幅が大きい変調信号に変換する必要があ
る。また、同様に、直流及び低周波領域の成分について
も十分な出力を得ることができない。このため、記録信
号のランレングス(同極性のビットの連続数)を制限し
て変調信号の最大パルス幅を小さくし、直流成分だけで
なく低域成分全体を抑圧したDCフリー特性を得る必要
がある。変調コードのランを制限することにより、高密
度記録、アジマス記録及び重ね書き記録が可能となる。
In magnetic recording, the output characteristics deteriorate as the recording frequency increases. Therefore, in digital recording, it is necessary to increase the minimum magnetization reversal interval, that is, to convert into a modulation signal having a large minimum pulse width. Further, similarly, it is impossible to obtain a sufficient output for the components in the DC and low frequency regions. Therefore, it is necessary to limit the run length (the number of consecutive bits of the same polarity) of the recording signal to reduce the maximum pulse width of the modulation signal and obtain a DC-free characteristic in which not only the DC component but also the entire low frequency component is suppressed. is there. By limiting the modulation code runs, high density recording, azimuth recording and overwriting recording are possible.

【0007】図5はこのようなランレングスを検出する
ランレングス検出回路を備えた従来の符号化装置を示す
ブロック図であり、24−25変調を採用した例を示し
ている。
FIG. 5 is a block diagram showing a conventional coding apparatus provided with a run length detecting circuit for detecting such run length, and shows an example in which 24-25 modulation is adopted.

【0008】この提案に示す24−25変調方式は、2
4ビットの入力データ列に1ビット付加して25ビット
にすることによりディジタルパイロットトーンを発生さ
せるものであり、付加する1ビット(以下、制御ビット
という)を適宜設定することにより、3種類の周波数f
0 ,f1 ,f2 のディジタルパイロットトーンを発生さ
せると共に、ランレングスが設定値を越えることがない
ようにしている。
The 24-25 modulation method shown in this proposal is 2
A digital pilot tone is generated by adding 1 bit to a 4-bit input data string to make it 25 bits. By appropriately setting 1 bit to be added (hereinafter referred to as a control bit), three kinds of frequencies can be obtained. f
The digital pilot tones of 0, f1 and f2 are generated and the run length is prevented from exceeding the set value.

【0009】入力される被変調データには「0」付加回
路1によって制御ビットとして“0”を付加する。ま
た、被変調データには「1」付加回路2によって制御ビ
ットとして“1”を付加する。「0」付加回路1の出力
及び「1」付加回路2の出力は、夫々プリコーダ3,4
に与えて、2クロック前後のビット同士の排他的論理和
を求めるI−NRZI(インターリーブドNRZI)変
換を行う。所定ワードに対するI−NRZI変換には、
前ワードに対する変調出力の最終ビットが必要であり、
プリコーダ2,3は保持回路10からの前ワードの変調出
力に基づいてI−NRZI変換を行う。
A "0" adding circuit 1 adds "0" as a control bit to the input modulated data. Further, "1" is added as a control bit to the modulated data by the "1" adding circuit 2. The output of the "0" addition circuit 1 and the output of the "1" addition circuit 2 are the precoders 3 and 4, respectively.
To perform an I-NRZI (interleaved NRZI) conversion for obtaining an exclusive OR of bits around two clocks. For I-NRZI conversion for a given word,
I need the last bit of the modulation output for the previous word,
The precoders 2 and 3 perform I-NRZI conversion based on the modulated output of the previous word from the holding circuit 10.

【0010】プリコーダ3,4の出力は選択回路9に与
え、選択回路9は決定回路8からの選択信号に制御され
て、プリコーダ3,4の出力のいずれか一方を選択する
ことにより、制御ビットとして“0”を付加した変調出
力を出力するか又は制御ビットとして“1”を付加した
変調出力を出力するようになっている。保持回路10は
選択回路9の出力を保持してワード単位の変調出力を出
力する。
The outputs of the precoders 3 and 4 are given to the selection circuit 9, and the selection circuit 9 is controlled by the selection signal from the decision circuit 8 to select either one of the outputs of the precoders 3 and 4 to control bits. For example, a modulated output with "0" added is output, or a modulated output with "1" added as a control bit is output. The holding circuit 10 holds the output of the selection circuit 9 and outputs a modulated output in word units.

【0011】決定回路8は、最大ランレングスと周波数
成分を決定する外的要因とに基づいて、制御ビットとし
て“1”を用いるか“0”を用いるかを決定する。最大
ランレングスはランレングス検出回路5,6によって検
出するようになっている。ランレングス検出回路5,6
には夫々プリコーダ3,4の出力を与え、ランレングス
検出回路5,6は、最大のランレングスを求める。この
場合には、前ワードの変調出力と現ワードの変調出力と
にまたがるランレングスを検出するために、前ワードの
変調出力終端までのランレングスが保持回路7から供給
される。ランレングス検出回路5,6は、夫々保持回路
7の出力とプリコーダ3,4の出力とに基づいて最大の
ランレングスを検出して決定回路8に出力する。また、
ランレングス検出回路5,6は次ワードのランレングス
の検出のために、現ワードの最終ビットから先頭ビット
側へのランレングス(以下、累積ランレングスともい
う)も求めて決定回路8に出力する。
The decision circuit 8 decides whether to use "1" or "0" as a control bit based on the maximum run length and an external factor that determines the frequency component. The maximum run length is detected by the run length detection circuits 5 and 6. Run length detection circuit 5, 6
To the output of the precoders 3 and 4, respectively, and the run length detection circuits 5 and 6 obtain the maximum run length. In this case, in order to detect the run length extending over the modulation output of the previous word and the modulation output of the current word, the run length up to the modulation output end of the previous word is supplied from the holding circuit 7. The run length detection circuits 5 and 6 detect the maximum run length based on the output of the holding circuit 7 and the output of the precoders 3 and 4, and output it to the decision circuit 8. Also,
The run length detection circuits 5 and 6 also obtain a run length from the last bit of the current word to the first bit side (hereinafter, also referred to as cumulative run length) and output it to the decision circuit 8 in order to detect the run length of the next word. .

【0012】決定回路8はランレングス検出回路5,6
からの最大ランレングスがいずれも設定値Nを越えない
場合には、外的要因に基づいて制御ビットを決定するた
めの選択信号を出力し、最大ランレングスが設定値Nを
越える場合には、最大ランレングスが小さくなる変調出
力を選択するための選択信号を出力する。なお、ランレ
ングス検出回路5,6のうち決定回路8が選択した回路
から出力された累積ランレングスは保持回路7に与え、
保持回路7は次ワードのランレングス検出時にランレン
グス検出回路5,6に出力する。
The decision circuit 8 is a run length detection circuit 5, 6
If none of the maximum run lengths exceeds the set value N, a selection signal for determining the control bit based on an external factor is output, and if the maximum run length exceeds the set value N, It outputs a selection signal for selecting a modulation output with a maximum run length that is small. The cumulative run length output from the circuit selected by the determination circuit 8 among the run length detection circuits 5 and 6 is given to the holding circuit 7,
The holding circuit 7 outputs to the run length detection circuits 5 and 6 when the run length of the next word is detected.

【0013】このように、図5の装置は、1ワード毎に
変調出力のランレングスを求め,外的要因に基づいて制
御ビットを決定すると変調出力のランレングスが所定の
設定値N以上になる場合には、ランレングスを小さくす
る変調出力を選択するようにしており、これにより、変
調出力の周波数成分を制御して所定のパイロットトーン
を発生させると共に、ランレングスを制限して良好な磁
化特性を得ている。
As described above, the apparatus of FIG. 5 obtains the run length of the modulation output for each word and determines the control bit based on the external factor, and the run length of the modulation output becomes equal to or more than the predetermined set value N. In this case, the modulation output that reduces the run length is selected. This controls the frequency component of the modulation output to generate a predetermined pilot tone, and limits the run length to obtain a good magnetization characteristic. Is getting

【0014】ところで、上述したように、プリコーダ
3,4におけるI−NRZI変換には前ワードの変調出
力の最終ビットが必要であり、前ワードの変調出力確定
後でなければプリコーダ3,4からは変換出力が得られ
ない。一方、次のワードの被変調データに対するI−N
RZI変換処理前には変調出力を出力させる必要があ
り、前ワードの変調出力が確定してプリコーダ3,4か
ら変換出力が出力された後にランレングスの検出を開始
させると、ランレングス検出回路5,6の処理時間が著
しく制約を受けるという問題があった。
By the way, as described above, the final bit of the modulation output of the previous word is necessary for the I-NRZI conversion in the precoders 3 and 4, and the precoders 3 and 4 need to output the last bit of the modulation output of the previous word. No conversion output can be obtained. On the other hand, I-N for the modulated data of the next word
It is necessary to output the modulation output before the RZI conversion processing, and when the run length detection is started after the modulation output of the previous word is determined and the conversion outputs are output from the precoders 3 and 4, the run length detection circuit 5 , 6 has a problem that the processing time is significantly restricted.

【0015】[0015]

【発明が解決しようとする課題】このように、上述した
従来の符号化装置においては、前ワードの変調出力が確
定するまではプリコーダにおける変調処理を行うことが
できないことから、ランレングス検出のための処理時間
が制約されてしまうという問題点があった。
As described above, in the above-described conventional coding apparatus, since the modulation processing in the precoder cannot be performed until the modulation output of the previous word is determined, the run length detection is performed. There was a problem that the processing time of was restricted.

【0016】本発明は、ランレングス検出のための処理
時間の制約を緩和することができる符号化装置を提供す
ることを目的とする。
It is an object of the present invention to provide an encoding device capable of relaxing the restriction on the processing time for detecting the run length.

【0017】[発明の構成][Structure of the Invention]

【課題を解決するための手段】本発明に係る符号化装置
は、入力される被変調データのLビット(Lは正の整
数)毎に1ビットの所定極性の制御ビットを付加する制
御ビット付加手段と、この制御ビット付加手段の出力に
対しその先頭に所定極性の1ビットが付加されているも
のとしてI−NRZI変換を行って(L+1)ビットの
ワード単位の変換出力を出力する変調手段と、前記変換
出力の各ビットのうち前記制御ビットの極性を変化させ
た場合にビット反転する反転ビット群を反転又は非反転
させる第1のビット反転手段及び前記変換出力の各ビッ
トのうち前記制御ビットの極性を変化させてもビット反
転しない共通ビット群を反転又は非反転させる第2のビ
ット反転手段を有し、前記変換出力の各ビットを反転又
は非反転させて変調出力として出力すると共に、1ワー
ド前の変調出力に基づいて前記第2のビット反転手段の
反転又は非反転を制御するビット反転手段と、前ワード
の変調出力の最終ビットと現ワードの変調出力の先頭ビ
ットとが同一極性であるものとした場合の現ワードの最
大ランレングスを検出する第1のランレングス検出手段
と、前ワードの変調出力の最終ビットと現ワードの変調
出力の先頭ビットとが異なる極性であるものとした場合
の現ワードの最大ランレングスを検出する第2のランレ
ングス検出手段と、前記第1のランレングス検出手段が
検出した最大ランレングスと前記第2のランレングス検
出手段が検出した最大ランレングスとを比較して小さい
最大ランレングスを与える前記第1及び第2のランレン
グス検出手段のうちのいずれか一方を示す比較結果を出
力する比較手段と、前ワードの変調出力確定後において
その変調出力の最終ビットに基づいて前記比較結果を反
転又は非反転させて選択信号として出力する反転手段
と、前記選択信号に基づいて前記反転ビット群の反転又
は非反転を制御するための信号を前記ビット反転手段に
与える決定手段とを具備したものである。
A coding device according to the present invention adds a control bit for adding a control bit of a predetermined polarity of 1 bit for each L bits (L is a positive integer) of input modulated data. And a modulation means for performing I-NRZI conversion on the output of the control bit adding means assuming that 1 bit of a predetermined polarity is added to the head of the control bit adding means, and outputting a conversion output in word units of (L + 1) bits. A first bit inverting means for inverting or not inverting an inverted bit group that inverts a bit when the polarity of the control bit among the bits of the conversion output is changed, and the control bit of each bit of the conversion output Has a second bit inverting means for inverting or non-inverting a common bit group that does not bit-invert even if the polarity of is changed, and modulates by inverting or non-inverting each bit of the conversion output. Of the modulation output of the preceding word and the final bit of the modulation output of the previous word and the modulation output of the current word. The first run length detecting means for detecting the maximum run length of the current word when the first bit has the same polarity, the last bit of the modulation output of the previous word and the first bit of the modulation output of the current word are Second run length detecting means for detecting the maximum run length of the current word when the polarities are different; maximum run length detected by the first run length detecting means and the second run length detecting means Of the first or second run length detecting means for giving a smaller maximum run length by comparing the maximum run length detected by Comparing means for outputting the comparison result, inverting means for inverting or non-inverting the comparison result based on the final bit of the modulation output after the modulation output of the previous word is determined, and outputting as the selection signal, and the selection signal And a deciding means for giving a signal for controlling the inversion or non-inversion of the inversion bit group to the bit inversion means based on the above.

【0018】[0018]

【作用】本発明において、被変調データには制御ビット
付加手段によって所定極性の制御ビットを付加し、変調
手段は先頭に所定極性の1ビットが付加されているもの
としてI−NRZI変換を行う。前ワードの変調出力が
確定する前に、第1及び第2のランレングス検出手段
は、夫々、1ワード前の変調出力の最終ビットと現ワー
ドの変調出力の先頭ビットとが同一であるか又は相違す
るものとして、最大ランレングスを求める。これらの最
大ランレングスを比較手段によって比較し、比較手段は
小さい最大ランレングスを与える第1又は第2のランレ
ングス検出手段を示す比較結果を出力する。前ワードの
変調出力が確定すると、反転手段はこの変調出力に基づ
いて比較結果を反転又は非反転させて選択信号として出
力する。決定手段は選択信号に基づいて第1のビット反
転手段を制御する。こうして、変調出力のランレングス
を小さくする。
In the present invention, the control bit adding means adds a control bit having a predetermined polarity to the modulated data, and the modulating means performs I-NRZI conversion on the assumption that one bit having a predetermined polarity is added to the head. Before the modulation output of the previous word is determined, the first and second run length detecting means respectively determine whether the last bit of the modulation output of the previous word and the first bit of the modulation output of the current word are the same, or As a difference, the maximum run length is calculated. These maximum run lengths are compared by the comparison means, and the comparison means outputs the comparison result indicating the first or second run length detection means which gives a small maximum run length. When the modulation output of the previous word is determined, the inverting means inverts or non-inverts the comparison result based on this modulation output and outputs it as a selection signal. The determining means controls the first bit inverting means based on the selection signal. In this way, the run length of the modulation output is reduced.

【0019】[0019]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。図1は本発明に係る符号化装置の一実施例
を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an encoding device according to the present invention.

【0020】入力される被変調データは「0」付加回路
11に与える。「0」付加回路11は被変調データに制御ビ
ットとして“0”を付加してプリコーダ12に与える。プ
リコーダ12は「0」付加回路1の出力をI−NRZI変
換する。所定ワードに対するI−NRZI変換には、前
ワードに対する変調出力の最終ビットが必要であるが、
プリコーダ12は前ワードの変調出力の最終ビットとして
常時“00”を用いて変換を行う。
The modulated data to be inputted is a "0" addition circuit.
Give to 11. The "0" adding circuit 11 adds "0" as a control bit to the modulated data and gives it to the precoder 12. The precoder 12 I-NRZI converts the output of the "0" addition circuit 1. I-NRZI conversion for a given word requires the last bit of the modulated output for the previous word,
The precoder 12 always performs conversion by using "00" as the final bit of the modulation output of the previous word.

【0021】プリコーダ12の変換出力はビット反転回路
13を介して保持回路10に供給する。ビット反転回路13
は、変調出力及び後述する決定回路15の出力に基づい
て、プリコーダ12の変換出力の各ビットを反転又は非反
転させて保持回路10に出力するようになっている。保持
回路10はビット反転回路13の出力を保持すると共に、ワ
ード単位で変調出力として出力するようになっている。
保持回路10の最終ビットはビット反転回路13及びランレ
ングス検出回路14に出力するようになっている。下記表
1はビット反転回路13の動作を説明するためのものであ
る。
The conversion output of the precoder 12 is a bit inverting circuit.
It is supplied to the holding circuit 10 via 13. Bit inversion circuit 13
Is configured to invert or non-invert each bit of the converted output of the precoder 12 based on the modulation output and the output of the decision circuit 15 described later, and output the inverted bit to the holding circuit 10. The holding circuit 10 holds the output of the bit inverting circuit 13 and outputs it as a modulation output in word units.
The last bit of the holding circuit 10 is output to the bit inversion circuit 13 and the run length detection circuit 14. Table 1 below is for explaining the operation of the bit inverting circuit 13.

【0022】[0022]

【表1】 いま、入力される24ビットの被変調データが表1に示
すように、“0000000000000000000
00000”であるものとする。上記表1は付加する制
御ビットが“0”又は“1”であり、前ワードの最終ビ
ットが“0”又は“1”である場合のI−NRZI変換
結果を示している。I−NRZI変換結果の“1”を正
レベルの信号に対応させ、“0”を負レベルの信号に対
応させると、前ワードの最終ビットと制御ビットとが
“0”,“0”の場合(以下、(a)の場合という)に
は、変換結果のDSVは次第に増加し、“1”,“1”
の場合(以下、(d)の場合という)には、変換結果の
DSVは次第に減少する。同様に、前ワードの最終ビッ
トと制御ビットとが“0”,“1”の場合(以下、
(b)の場合という)及び“1”,“0”の場合(以
下、(c)の場合という)には、変換結果のDSVは変
化しない。即ち、前ワードの最終ビットに応じて適宜制
御ビットを設定することにより、DSVを制御すること
ができ、I−NRZI変換結果に所定周波数のディジタ
ルパイロットトーンを発生させると共に、最大ランレン
グスを所定の設定値Nを越えない値に制限することがで
きる。
[Table 1] Now, as shown in Table 1, the input 24-bit modulated data is “0000000000000000000000”.
Table 1 shows the I-NRZI conversion result when the control bit to be added is "0" or "1" and the last bit of the previous word is "0" or "1". When "1" of the I-NRZI conversion result is associated with a positive level signal and "0" is associated with a negative level signal, the last bit and the control bit of the previous word are "0", "." In the case of 0 "(hereinafter referred to as the case of (a)), the DSV of the conversion result gradually increases to" 1 "," 1 ".
In this case (hereinafter referred to as the case of (d)), the DSV of the conversion result gradually decreases. Similarly, when the last bit and control bit of the previous word are “0” and “1” (hereinafter,
In the case of (b)) and in the cases of "1" and "0" (hereinafter referred to as the case of (c)), the DSV of the conversion result does not change. That is, the DSV can be controlled by appropriately setting the control bit according to the last bit of the previous word, the digital pilot tone of the predetermined frequency is generated in the I-NRZI conversion result, and the maximum run length is set to the predetermined value. It can be limited to a value that does not exceed the set value N.

【0023】上記表1から明らかなように、(a)の場
合、即ち、前ワードの最終ビットが“0”で制御ビット
も“0”である場合には、被変調データはそのまま変換
結果として出力される。(b)の場合には、I−NRZ
I変換結果は被変調データを1ビットおきに反転させた
ものとなる。I−NRZI変換結果のビット列のうち制
御ビット“1”によって反転した各ビットを反転ビット
群とすると、表1の(c)の場合と(d)の場合との比
較から明らかなように、前ワードの最終ビットが“1”
である場合においても、制御ビットが“0”のときと
“1”のときとでは反転ビット群の各ビットは反転して
いることが分かる。
As is clear from Table 1 above, in the case of (a), that is, when the last bit of the previous word is "0" and the control bit is also "0", the modulated data is directly used as the conversion result. Is output. In the case of (b), I-NRZ
The I conversion result is the inverted data of every other bit of the modulated data. When each bit inverted by the control bit “1” in the bit string of the I-NRZI conversion result is an inverted bit group, as is clear from the comparison between the case (c) and the case (d) in Table 1, Last bit of word is "1"
Even in the case of, it can be seen that each bit of the inversion bit group is inverted when the control bit is “0” and when it is “1”.

【0024】即ち、制御ビットとして“1”又は“0”
を付加する代わりに、制御ビットとして常に“0”を付
加し、反転ビット群を反転又は非反転させても同一の変
調出力が得られる。この理由から、「0」付加回路11は
制御ビットとして常に“0”を付加し、ビット反転回路
13が反転ビット群を反転又は非反転させることにより、
制御ビットとして“1”又は“0”を付加したときと同
一の変調出力を得ている。
That is, the control bit is "1" or "0".
Instead of adding "0", the same modulation output can be obtained even if "0" is always added as a control bit and the inverted bit group is inverted or non-inverted. For this reason, the "0" addition circuit 11 always adds "0" as the control bit, and the bit inversion circuit
13 reverses or reverses the inverted bit group,
The same modulation output as when "1" or "0" is added as a control bit is obtained.

【0025】また、反転ビット群以外の各ビットを共通
ビット群とすると、前ワードの最終ビットが“0”であ
る場合には、共通ビット群は被変調データと同極性とな
り、“1”である場合には、被変調データを反転させた
ものとなる。この理由から、プリコーダ12は前ワードの
最終ビットが常に“00”であるものとしてI−NRZ
I変換を行い、ビット反転回路13は実際の変調出力の最
終ビットに基づいて共通ビット群を反転又は非反転させ
るようになっている。即ち、ビット反転回路13の共通ビ
ット群に対する反転又は非反転処理は、前ワードの最終
ビットに対応するものであり、保持回路10からの前ワー
ドの変調出力の最終ビットが“0”である場合にはビッ
ト反転回路13は共通ビット群をそのまま出力し、“1”
である場合には共通ビット群を反転させて出力する。
If each bit other than the inverted bit group is a common bit group, when the last bit of the previous word is "0", the common bit group has the same polarity as the modulated data and is "1". In some cases, it will be the inverted version of the modulated data. For this reason, the precoder 12 assumes that the last bit of the previous word is always "00".
Performing I conversion, the bit inverting circuit 13 inverts or non-inverts the common bit group based on the final bit of the actual modulation output. That is, the inversion or non-inversion processing for the common bit group of the bit inversion circuit 13 corresponds to the last bit of the previous word, and the last bit of the modulation output of the previous word from the holding circuit 10 is “0”. The bit inversion circuit 13 outputs the common bit group as it is to “1”
, The common bit group is inverted and output.

【0026】ビット反転回路13は決定回路15に制御され
て、プリコーダ12の反転ビット群を反転又は非反転させ
るようになっている。ランレングス検出回路14は、プリ
コーダ12の変換出力及び保持回路10からの変調出力に基
づいて、制御ビットが“1”である場合の現ワードの最
大ランレングスと制御ビットが“0”である場合の現ワ
ードの最大ランレングスとを求めて、小さい最大ランレ
ングスを与える制御ビットを選択するための選択信号を
決定回路15に出力すると共に、選択した制御ビットに基
づく最大ランレングスが設定値Nを越えるか否かを示す
制御信号を決定回路15に出力するようになっている。決
定回路15は、ランレングス検出回路14からの選択信号及
び制御信号と外的要因に基づいてビット反転回路13の反
転ビット群に対するビット反転処理を制御するようにな
っている。本実施例においては、ランレングス検出回路
14は、前ワードの変調出力が確定する前に、ランレング
スの検出を開始するようになっている。
The bit inversion circuit 13 is controlled by the decision circuit 15 to invert or non-invert the inverted bit group of the precoder 12. The run length detection circuit 14 determines the maximum run length of the current word when the control bit is “1” and the control bit is “0” based on the conversion output of the precoder 12 and the modulation output from the holding circuit 10. Of the present word and outputs a selection signal for selecting a control bit giving a small maximum run length to the decision circuit 15, and the maximum run length based on the selected control bit sets a set value N. A control signal indicating whether or not to exceed is output to the decision circuit 15. The decision circuit 15 controls bit inversion processing for the inversion bit group of the bit inversion circuit 13 based on the selection signal and the control signal from the run length detection circuit 14 and an external factor. In this embodiment, the run length detection circuit
The 14 starts the run length detection before the modulation output of the previous word is determined.

【0027】図2は図1中のランレングス検出回路14の
具体的な構成を示すブロック図である。
FIG. 2 is a block diagram showing a specific configuration of the run length detection circuit 14 shown in FIG.

【0028】本実施例のランレングス検出回路14は、前
ワードの変調出力に拘らず、常に後述する3パターンの
ランレングス計算を行う。ランレングス検出回路14は、
前ワードの変調出力確定前に算出演算を開始し、前ワー
ドの変調出力が確定した後に、この変調出力を用いて3
パターンのランレングスのうちの2つを選択し、選択し
た2つのランレングスの大小比較によって選択信号を求
めるようになっている。
The run length detection circuit 14 of this embodiment always performs the run length calculation of three patterns, which will be described later, regardless of the modulation output of the previous word. The run length detection circuit 14 is
The calculation operation is started before the modulation output of the previous word is determined, and after the modulation output of the previous word is determined,
Two of the run lengths of the pattern are selected, and the selection signal is obtained by comparing the magnitudes of the two selected run lengths.

【0029】即ち、図2において、プリコーダ12からの
変換出力は排他的論理和回路21に与える。排他的論理和
回路21はワード毎にビット列の1ビット前後のビット同
士で排他的論理和演算を行う。ランレングス検出回路14
は、“0”の連続数と“1”の連続数とを求める必要が
ある。しかし、“0”の連続であるか“1”の連続であ
るかに拘らず、ランレングス検出回路14はランレングス
の最大値を検出すればよい。そこで、ランレングス検出
回路14は排他的論理和演算を行うようになっている。排
他的論理和演算結果は前後のビットの極性が同一であれ
ば“0”となり、相違する毎に“1”となる。即ち、排
他的論理和演算結果の“0”の連続数+1が“0”又は
“1”のランレングスとなる。変換出力の1ワード長が
(L+1)ビットであるものとすると、排他的論理和演
算回路21の出力はワード毎にLビットとなる。
That is, in FIG. 2, the conversion output from the precoder 12 is given to the exclusive OR circuit 21. The exclusive-OR circuit 21 performs an exclusive-OR operation on the bits before and after one bit of the bit string for each word. Run length detection circuit 14
Must determine the number of consecutive "0" s and the number of consecutive "1" s. However, the run-length detection circuit 14 may detect the maximum value of the run-length regardless of whether it is "0" or "1". Therefore, the run length detection circuit 14 is adapted to perform an exclusive OR operation. The exclusive OR operation result is "0" if the polarities of the preceding and following bits are the same, and is "1" for each different. That is, the number of consecutive "0" s of the exclusive OR operation result + 1 becomes the run length of "0" or "1". Assuming that one word length of the converted output is (L + 1) bits, the output of the exclusive OR operation circuit 21 is L bits for each word.

【0030】ところで、前ワードの変調出力の最終ビッ
トと現ワードの先頭ビット(制御ビット)とが同一極性
である場合には、ランレングスの検出に前ワードまでの
ランレングスを用いる必要がある。いま、1ワードを
(L+1)ビットとし、L=24とするものとする。図
3はこの場合において、前ワードの変調出力を“000
0000000000000000000000”と
し、現ワードの被変調データを“1010101010
1010101001010”とすることにより、最も
ランレングスが長くなる変調出力を示す説明図である。
図3(a)は制御ビットが“0”の場合を示し、図3
(b)は制御ビットが“1”の場合を示している。
By the way, when the last bit of the modulation output of the previous word and the head bit (control bit) of the current word have the same polarity, it is necessary to use the run length up to the previous word to detect the run length. Now, it is assumed that one word has (L + 1) bits and L = 24. In this case, FIG. 3 shows the modulation output of the previous word as “000
0000000000000000000000 "and the modulated data of the current word is" 1010101010 ".
FIG. 10 is an explanatory diagram showing a modulation output having the longest run length by setting 1010101001010 ″.
FIG. 3A shows the case where the control bit is “0”.
(B) shows the case where the control bit is "1".

【0031】図3においてaは現ワードのランレングス
検出のために必要な前変調出力までのビット数を示して
いる。いま、前変調出力の全ビットが“0”でその前の
変調出力も最終ビットから逆方向に“0”が連続してい
るものとする。この場合には、制御ビットとして“1”
を付加することにより、“0”が連続することを防止し
て、現ワードにおける最大ランレングスを小さくするこ
とができる。下記表2はaと最大ランレングスとの関係
を示している。
In FIG. 3, a shows the number of bits up to the pre-modulation output necessary for detecting the run length of the current word. Now, it is assumed that all bits of the previous modulation output are "0" and the previous modulation output is also "0" continuous in the opposite direction from the last bit. In this case, the control bit is "1"
By adding "," continuous "0" s can be prevented and the maximum run length in the current word can be reduced. Table 2 below shows the relationship between a and the maximum run length.

【0032】[0032]

【表2】 上記表2に示すように、aがL−1(=23)である場
合には、制御ビットが“0”のときには最大ランレング
スはLであり、“1”のときにはL+1である。即ち、
この場合には制御ビットを“0”にすることにより最大
ランレングスをL(=24)に抑制することができる。
また、aがLの場合には、上記表2に示すように、制御
ビットが“0”であっても“1”であっても、最大ラン
レングスはL+1である。また、aがL+1である場合
には、制御ビットの“0”で最大ランレングスはL+2
となり、“1”でL+1となる。即ち、この場合には、
制御ビットを“1”にすることにより、最大ランレング
スをL+1に抑制することができる。更に、aがL+2
の場合には、上記表2から明らかなように、制御ビット
を“1”とすることにより最大ランレングスをL+1に
抑制することができる。以下同様に、aがL以上である
場合には、最大ランレングスはL+1となる。換言する
と、図3ではaを無制限に大きくしたが、実際には、最
大ランレングスはL+1よりも大きな値とはならないの
で、aとしてL+1を設定することにより、正確に現ワ
ードの最大ランレングスを求めることができる。
[Table 2] As shown in Table 2, when a is L-1 (= 23), the maximum run length is L when the control bit is "0" and L + 1 when the control bit is "1". That is,
In this case, the maximum run length can be suppressed to L (= 24) by setting the control bit to "0".
When a is L, the maximum run length is L + 1 regardless of whether the control bit is "0" or "1" as shown in Table 2 above. When a is L + 1, the control bit is "0" and the maximum run length is L + 2.
And becomes "L + 1" at "1". That is, in this case,
By setting the control bit to "1", the maximum run length can be suppressed to L + 1. Furthermore, a is L + 2
In this case, as is clear from Table 2 above, the maximum run length can be suppressed to L + 1 by setting the control bit to "1". Similarly, when a is L or more, the maximum run length is L + 1. In other words, in FIG. 3, a is unlimitedly increased, but in reality, the maximum run length does not become a value larger than L + 1, so by setting L + 1 as a, the maximum run length of the current word can be accurately set. You can ask.

【0033】図4は変調出力の最終ビット及び先頭ビッ
ト(制御ビット)と最大ランレングスの算出に必要な範
囲との関係を説明するための説明図である。図4におい
てfirst0,first1は夫々現ワード又は前ワードの先頭ビ
ット(制御ビット)を示し、last1 ,last2 は夫々前ワ
ード又は2ワード前の最終ビットを示している。また、
矢印は最大ランレングスの算出に必要な範囲を示してい
る。
FIG. 4 is an explanatory diagram for explaining the relationship between the last bit and head bit (control bit) of the modulation output and the range required for calculating the maximum run length. In FIG. 4, first0 and first1 respectively indicate the first bit (control bit) of the current word or the previous word, and last1 and last2 respectively indicate the last word or the last bit two words before. Also,
The arrow indicates the range required to calculate the maximum run length.

【0034】上述したように、現ワードの最大ランレン
グスの検出には2ワード前の変調出力まで考慮すればよ
いので、考えられるパターンは図4の4パターンであ
る。即ち、図4(a)はfirst0=last1 ,first1=last
2 である場合である。また、図4(b)はfirst0≠last
1 ,first1=last2 である場合であり、図4(c)はfi
rst0=last1 ,first1≠last2 である場合であり、図4
(d)はfirst0≠last1,first1≠last2 である場合で
ある。これらの4パターン(以下、夫々Aパターン乃至
Dパターンという)のうちBパターン,Dパターンは、
図4(b),(d)の矢印に示すように、必要な範囲は
同じである。従って、A,B,Cパターンのみについて
最大ランレングスの検出を行えばよい。
As described above, in order to detect the maximum run length of the current word, it is only necessary to consider up to the modulation output two words before, so the possible patterns are the four patterns of FIG. That is, in FIG. 4A, first0 = last1, first1 = last
If it is 2. In addition, in FIG. 4B, first0 ≠ last
1 and first1 = last2, and FIG.
This is the case where rst0 = last1 and first1 ≠ last2, as shown in FIG.
(D) is a case where first0 ≠ last1 and first1 ≠ last2. Of these four patterns (hereinafter referred to as A pattern to D pattern, respectively), the B pattern and D pattern are
As shown by the arrows in FIGS. 4B and 4D, the required ranges are the same. Therefore, the maximum run length may be detected only for the A, B, and C patterns.

【0035】ところで、1ワード前の変調出力の確定前
においては、現ワードの変調出力として考えられるパタ
ーンは、上記表1に示すように、前ワードの変調出力の
最終ビットに基づく2パターンと制御ビットの極性に基
づく2パターンとの計4パターンである。下記表
(3),(4)は被変調データが“011010011
100100001010011”である場合につい
て、4パターンの変調出力と排他的論理和演算結果との
関係を示している。
Before the modulation output of the previous word is determined, the patterns considered as the modulation output of the current word are, as shown in Table 1 above, two patterns based on the last bit of the modulation output of the previous word and control. There are 4 patterns in total, 2 patterns based on the polarities of the bits. In the tables (3) and (4) below, the modulated data is "011010011".
In the case of 100100001010011 ", the relationship between the modulation output of four patterns and the exclusive OR operation result is shown.

【0036】[0036]

【表3】 [Table 3]

【表4】 上記表4(a)乃至(d)の場合は、夫々上記表3の
(a)乃至(d)の場合に対応する。上記表3,4の
(a),(d)の場合及び(b),(c)の場合の比較
から明らかなように、前変調出力の最終ビットの極性と
現変調出力の先頭ビット(制御ビット)の極性が同一で
あるか否かによって、排他的論理和演算結果は2パター
ンに集約され、また、これらの2パターンは相互にビッ
ト反転の関係を有することが分かる。
[Table 4] The cases of Tables 4 (a) to 4 (d) correspond to the cases of Table 3 (a) to (d), respectively. As is clear from the comparison between cases (a) and (d) and cases (b) and (c) in Tables 3 and 4, the polarity of the last bit of the previous modulation output and the first bit of the current modulation output (control It can be seen that the exclusive OR operation results are aggregated into two patterns depending on whether or not the polarities of (bits) are the same, and that these two patterns have a bit inversion relationship with each other.

【0037】図2においては、排他的論理和回路21の出
力はビット反転回路25に与えると共に、最大ランレング
ス検出回路22,23にも与える。排他的論理和回路21の出
力は上記表3,4の(a)の場合に相当する。また、表
4に示すように、この場合のランレングスは(d)の場
合のランレングスと同じである。従って、(a)の場
合、即ち、前ワードの変調出力の最終ビットが“0”で
制御ビットが“0”の場合についてランレングスを検出
し、表4の(a),(d)の場合の変調出力を選択する
場合には、最終ビットが確定した段階で最終ビットが
“0”のときには制御ビットとして“0”を選択し、最
終ビットが“1”のときには制御ビットとして“1”を
選択するようにすればよい。
In FIG. 2, the output of the exclusive OR circuit 21 is supplied to the bit inverting circuit 25 and also to the maximum run length detection circuits 22 and 23. The output of the exclusive OR circuit 21 corresponds to the case of (a) in Tables 3 and 4 above. Further, as shown in Table 4, the run length in this case is the same as the run length in the case of (d). Therefore, in the case of (a), that is, when the last bit of the modulation output of the previous word is “0” and the control bit is “0”, the run length is detected, and the cases of (a) and (d) in Table 4 are detected. When the modulation output of is selected, when the final bit is fixed, "0" is selected as the control bit when the final bit is "0", and "1" is selected as the control bit when the final bit is "1". You can select it.

【0038】表4の(a)の場合及び(d)の場合とし
て考えられるパターンは、図4のAパターン又はCパタ
ーンである。最大ランレングス検出回路22はAパターン
の最大ランレングスを検出し、最大ランレングス検出回
路23はCパターンの最大ランレングスを検出するための
ものである。最大ランレングス検出回路22,23は、夫々
後述する保持回路26,27から前変調出力までのランレン
グスが初期値として与えられ、この初期値に1を加算す
ると共に、排他的論理和回路21の出力を用いて、Lビッ
トの現ワードの最大ランレングスを検出して選択回路28
に出力する。また、最大ランレングス検出回路22は、現
ワードの最終ビットから先頭ビット方向へのランレング
スを検出して、次ワードの最大ランレングスの初期値と
して保持回路26に出力するようになっている。
The patterns considered as the cases (a) and (d) of Table 4 are the A pattern or the C pattern of FIG. The maximum run length detection circuit 22 detects the maximum run length of the A pattern, and the maximum run length detection circuit 23 detects the maximum run length of the C pattern. The maximum run length detection circuits 22 and 23 are provided with run lengths from holding circuits 26 and 27, which will be described later, to pre-modulation outputs, respectively, as initial values, add 1 to these initial values, and execute exclusive OR circuit 21. The output is used to detect the maximum run length of the L-bit current word and select circuit 28
Output to. Further, the maximum run length detection circuit 22 detects the run length from the last bit of the current word toward the leading bit and outputs it to the holding circuit 26 as an initial value of the maximum run length of the next word.

【0039】ビット反転回路25は、排他的論理和回路21
の出力をビット反転させて最大ランレングス検出回路24
に出力する。これにより、最大ランレングス検出回路24
によって、上記表4の(b),(c)の場合の最大ラン
レングスの検出が可能となる。上記表4の(b),
(c),の場合、即ち、前変調出力の最終ビットと現ワ
ードの制御ビットとが異なる極性である場合には、図4
に示すように、最大ランレングスの検出に必要なパター
ンは図4のB,Dパターンである。つまり、この場合に
は、前ワードのランレングスを考慮する必要はない。最
大ランレングス検出回路24は、ビット反転した排他的論
理和結果の最大ランレングスを検出して比較回路29に出
力する。また、最大ランレングス検出回路24は、現ワー
ドの最終ビットから先頭ビット方向へのランレングスを
検出して次ワードの最大ランレングスの初期値として保
持回路27に出力するようになっている。
The bit inversion circuit 25 is an exclusive OR circuit 21.
Maximum run length detection circuit 24
Output to. As a result, the maximum run length detection circuit 24
Thus, it becomes possible to detect the maximum run length in the cases of (b) and (c) in Table 4 above. (B) in Table 4 above,
In the case of (c), that is, when the last bit of the pre-modulation output and the control bit of the current word have different polarities, FIG.
As shown in FIG. 4, the patterns required to detect the maximum run length are the B and D patterns in FIG. That is, in this case, it is not necessary to consider the run length of the previous word. The maximum run length detection circuit 24 detects the maximum run length of the bit-inverted exclusive OR result and outputs it to the comparison circuit 29. Further, the maximum run length detection circuit 24 detects the run length from the last bit of the current word to the head bit direction and outputs it to the holding circuit 27 as the initial value of the maximum run length of the next word.

【0040】保持回路26,27は、夫々Aパターン又はC
パターンの最大ランレングスを検出するための前ワード
までのランレングスを保持し、次ワードの最大ランレン
グス検出時に、最大ランレングス検出回路22,23に初期
値として供給するようになっている。
The holding circuits 26 and 27 respectively have A pattern or C pattern.
The run length up to the previous word for detecting the maximum run length of the pattern is held, and when the maximum run length of the next word is detected, it is supplied to the maximum run length detection circuits 22 and 23 as an initial value.

【0041】選択回路28は2ワード前の最終ビットlast
2 及び前ワードの先頭ビットfirst1が与えられ、両者が
相互に同極性である場合には、最大ランレングス検出回
路22からのAパターンの最大ランレングスを比較回路29
に与え、異なる極性である場合には、最大ランレングス
検出回路23からのCパターンの最大ランレングスを比較
回路29に与える。
The selection circuit 28 uses the last bit last two words last
2 and the first bit first1 of the previous word are given and both have the same polarity, the maximum run length of the A pattern from the maximum run length detection circuit 22 is compared with the comparison circuit 29.
When the polarities are different, the maximum run length of the C pattern from the maximum run length detection circuit 23 is given to the comparison circuit 29.

【0042】比較回路29は選択回路28からのAパターン
又はCパターンの最大ランレングスと、最大ランレング
ス検出回路24からのB,Dパターンの最大ランレングス
とを比較して、いずれの最大ランレングスが小さいかを
判断して、表4の(a),(d)の場合の変調出力を選
択するか又は表4の(b),(c)の場合の変調出力を
選択するかを示す信号を反転回路30に与える。また、比
較回路29は入力された最大ランレングスが設定値Nを越
えたか否かを示す制御信号も出力する。反転回路30は、
前ワードの変調出力確定後において、前ワードの変調出
力の最終ビットlast1 が入力され、last1 が“0”であ
る場合には、比較回路29の出力をそのまま選択信号とし
て出力し、last1 が“1”である場合には、比較回路29
の出力を反転させて選択信号として出力する。
The comparison circuit 29 compares the maximum run length of the A pattern or C pattern from the selection circuit 28 with the maximum run length of the B and D patterns from the maximum run length detection circuit 24, and determines which maximum run length. Signal indicating whether the modulation output in the cases of (a) and (d) in Table 4 or the modulation output in the cases of (b) and (c) in Table 4 is selected. Is given to the inverting circuit 30. The comparison circuit 29 also outputs a control signal indicating whether or not the input maximum run length exceeds the set value N. The inverting circuit 30 is
After the modulation output of the previous word is confirmed, if the last bit last1 of the modulation output of the previous word is input and last1 is “0”, the output of the comparison circuit 29 is directly output as the selection signal and last1 is set to “1”. If it is ", the comparison circuit 29
The output of is inverted and output as a selection signal.

【0043】図1において、ランレングス検出回路14か
らの選択信号及び制御信号は決定回路15に与える。決定
回路15は、制御信号によって最大ランレングスが設定値
Nを越えないことが示された場合には、周波数成分を決
定する外的要因に基づいてビット反転回路13の反転ビッ
ト群に対する反転又は非反転処理を制御する。また、決
定回路15は、制御信号によって最大ランレングスが設定
値Nを越えることが示された場合には、選択信号に基づ
いてビット反転回路13の反転ビット群に対する反転又は
非反転処理を制御するようになっている。
In FIG. 1, the selection signal and the control signal from the run length detection circuit 14 are given to the decision circuit 15. When the control signal indicates that the maximum run length does not exceed the set value N, the determining circuit 15 inverts or inverts the inversion bit group of the bit inversion circuit 13 based on an external factor that determines the frequency component. Control the inversion process. When the control signal indicates that the maximum run length exceeds the set value N, the decision circuit 15 controls the inversion or non-inversion process for the inversion bit group of the bit inversion circuit 13 based on the selection signal. It is like this.

【0044】次に、このように構成された実施例の動作
について説明する。
Next, the operation of the embodiment thus constructed will be described.

【0045】入力される被変調データは「0」付加回路
11に与える。「0」付加回路11は被変調データに制御ビ
ットとして“0”を付加してプリコーダ12に与え、プリ
コーダ12は前ワードの変調出力の最終ビットを“00”
であるものとして、「0」付加回路11の出力をI−NR
ZI変換する。変換出力はビット反転回路13及びランレ
ングス検出回路14に与える。
The modulated data to be inputted is a "0" addition circuit.
Give to 11. The "0" addition circuit 11 adds "0" to the modulated data as a control bit and gives it to the precoder 12, and the precoder 12 outputs "00" as the final bit of the modulation output of the previous word.
, The output of the “0” addition circuit 11 is I-NR.
ZI convert. The converted output is given to the bit inversion circuit 13 and the run length detection circuit 14.

【0046】前ワードの変調出力の確定前においては、
ビット反転回路13は、反転又は非反転処理を行わない。
これに対し、ランレングス検出回路14は、最大ランレン
グスの算出を開始する。
Before the modulation output of the previous word is confirmed,
The bit inversion circuit 13 does not perform inversion or non-inversion processing.
On the other hand, the run length detection circuit 14 starts calculation of the maximum run length.

【0047】前ワードの変調出力が確定していない時点
では、入力された被変調データに対する変調出力として
は上記表3,4に示す4パターンが考えられる。これら
の4パターンのうち(a)の場合と(d)の場合とはラ
ンレングスは同一であり、また、(b)の場合と(c)
の場合もランレングスは一致する。そこで、ランレング
ス検出回路14は(a),(d)の場合及び(b),
(c)の場合の2パターンについて最大ランレングスを
求める。
When the modulation output of the previous word is not fixed, the four patterns shown in Tables 3 and 4 are considered as the modulation output for the input modulated data. Of these four patterns, the run lengths in case (a) and case (d) are the same, and in case (b) and case (c).
The run lengths also match. Therefore, the run length detection circuit 14 has the cases (a) and (d) and (b),
The maximum run length is obtained for the two patterns in the case of (c).

【0048】即ち、プリコーダ12の変換出力は排他的論
理和回路21に与える。排他的論理和回路21は、前後のビ
ット間で排他的論理和を求める。排他的論理和演算結果
の“0”の連続数+1はランレングスを示す。なお、
「0」付加回路11及びプリコーダ12によって、前ワード
の最終ビット及び現ワードの制御ビットとして“0”が
用いられているので、排他的論理和回路21の出力は上記
表3,4の(a)の場合に対応する。
That is, the converted output of the precoder 12 is given to the exclusive OR circuit 21. The exclusive OR circuit 21 calculates an exclusive OR between the preceding and following bits. The number of consecutive "0" s of the exclusive OR operation result + 1 indicates the run length. In addition,
Since "0" is used as the last bit of the previous word and the control bit of the current word by the "0" addition circuit 11 and the precoder 12, the output of the exclusive OR circuit 21 is (a) in Tables 3 and 4 above. ).

【0049】排他的論理和演算結果は最大ランレングス
検出回路22,23及びビット反転回路25に出力する。上記
表4に示すように、(a),(d)の場合と(b),
(c)の場合とでは、排他的論理和演算結果はビット反
転したものであるので、ビット反転回路25が排他的論理
和回路21の出力をビット反転させることにより、上記表
3,4の(b),(c)の場合に対応する排他的論理和
演算結果が得られる。
The exclusive OR operation result is output to the maximum run length detection circuits 22 and 23 and the bit inversion circuit 25. As shown in Table 4 above, in the cases of (a) and (d) and (b),
In the case of (c), since the exclusive OR operation result is the bit-inverted, the bit inversion circuit 25 bit-inverts the output of the exclusive OR circuit 21 to set The exclusive OR operation result corresponding to the cases of b) and (c) is obtained.

【0050】上記表3,4の(b),(c)の場合は、
図4のB,Dパターンに相当し、現ワードのランレング
スのみを考慮すればよく、最大ランレングス検出回路24
はビット反転回路25の出力から最大ランレングスを求め
と共に、現ワードの最終ビットから先頭ビット方向への
ランレングスを検出して次ワードの初期値として保持回
路27に与えて記憶させる。上記表3,4の(a),
(d)の場合は、図4のA,Cパターンに相当する。最
大ランレングス検出回路23はCパターンにおける最大ラ
ンレングスを検出するものであり、保持回路27から前ワ
ードまでのランレングスが初期値として与えられて、現
ワードの最大ランレングスを検出する。また、最大ラン
レングス検出回路22はAパターンにおける最大ランレン
グスを検出するものであり、保持回路26から前ワードま
でのランレングスが初期値として与えられて、現ワード
の最大ランレングスを検出する。最大ランレングス検出
回路22は、現ワードの最終ビットから先頭ビット方向へ
のランレングスを検出して次ワードの初期値として保持
回路26に与えて記憶させる。
In the case of (b) and (c) in Tables 3 and 4 above,
This corresponds to the B and D patterns of FIG. 4, and it is sufficient to consider only the run length of the current word, and the maximum run length detection circuit 24
Determines the maximum run length from the output of the bit inversion circuit 25, detects the run length from the last bit of the current word to the leading bit direction, and supplies it to the holding circuit 27 as the initial value of the next word for storage. (A) in Tables 3 and 4 above,
The case of (d) corresponds to the A and C patterns of FIG. The maximum run length detecting circuit 23 detects the maximum run length in the C pattern, and the run length from the holding circuit 27 to the previous word is given as an initial value to detect the maximum run length of the current word. Further, the maximum run length detection circuit 22 detects the maximum run length in the A pattern, and the run length from the holding circuit 26 to the previous word is given as an initial value to detect the maximum run length of the current word. The maximum run length detection circuit 22 detects the run length from the last bit of the current word in the direction of the first bit, and supplies it to the holding circuit 26 as the initial value of the next word for storage.

【0051】AパターンとCパターンとは前ワードの先
頭ビットと2ワード前の最終ビットとの極性に基づくも
のであり、選択回路28は保持回路10から前ワードの変調
出力の確定後においてこれらのビットfirst1,last2 が
与えられて、実際に取り得るパターンに基づく最大ラン
レングスを比較回路29に出力する。こうして、比較回路
29には現ワードの変調出力として取り得る(a),
(d)の場合と(b),(c)の場合とについて求めた
最大ランレングスが供給される。比較回路29は入力され
た最大ランレングスが設定値Nを越えているか否かを示
す制御信号を出力すると共に、選択回路28からの最大ラ
ンレングスと最大ランレングス検出回路24からの最大ラ
ンレングスとを比較して、いずれのランレングスが小さ
いかを示す信号を反転回路30に出力する。
The A pattern and the C pattern are based on the polarities of the first bit of the previous word and the last bit of the previous two words, and the selection circuit 28 determines whether the modulation output of the previous word from the holding circuit 10 is established. Given the bits first1 and last2, the maximum run length based on the pattern that can be actually taken is output to the comparison circuit 29. Thus, the comparison circuit
29 can be used as the modulation output of the current word (a),
The maximum run length obtained in the case of (d) and the cases of (b) and (c) is supplied. The comparison circuit 29 outputs a control signal indicating whether or not the input maximum run length exceeds the set value N, and the maximum run length from the selection circuit 28 and the maximum run length from the maximum run length detection circuit 24. And outputs a signal indicating which run length is smaller to the inverting circuit 30.

【0052】即ち、反転回路30には表3の(a),
(d)の場合の変調出力を選択することを示す信号か又
は表3の(b),(c)の場合の変調出力を選択するこ
とを示す信号が与えられる。反転回路30は、前ワードの
最終ビットが与えられ、この最終ビットが“0”である
場合には、表3の(a)の場合又は表3の(b)の場合
を選択するための選択信号を出力し、“1”である場合
には、表3の(d)の場合又は表3の(c)の場合を選
択するための選択信号を出力する。
That is, in the inverting circuit 30, (a) in Table 3
A signal indicating selection of the modulation output in the case of (d) or a signal indicating selection of the modulation output in the cases of (b) and (c) of Table 3 is given. The inverting circuit 30 is provided with the last bit of the previous word, and when this last bit is “0”, selection for selecting the case of (a) of Table 3 or the case of (b) of Table 3 A signal is output, and when it is "1", a selection signal for selecting the case (d) of Table 3 or the case (c) of Table 3 is output.

【0053】決定回路15は、制御信号よっていずれの変
調出力を選択しても最大ランレングスが設定値Nを越え
ないことが示された場合には、外的要因に基づいて制御
ビットを決定するための信号をビット反転回路13に与え
る。ビット反転回路13は、保持回路10から前ワードの最
終ビットが与えられ、最終ビットが“0”である場合に
は、共通ビット群をそのまま出力し、反転ビット群を決
定回路15からの指示に基づいて反転又は非反転処理す
る。また、ビット反転回路13は、前ワードの最終ビット
が“1”である場合には、共通ビット群を反転させると
共に、反転ビット群を決定回路15からの指示に基づいて
反転又は非反転処理する。
When it is shown that the maximum run length does not exceed the set value N regardless of which modulation output is selected by the control signal, the decision circuit 15 determines the control bit based on an external factor. To the bit inversion circuit 13. When the last bit of the previous word is given from the holding circuit 10 and the last bit is “0”, the bit inversion circuit 13 outputs the common bit group as it is, and the inversion bit group is used as an instruction from the decision circuit 15. Inversion or non-inversion processing is performed based on the above. Further, the bit inverting circuit 13 inverts the common bit group and inverts or non-inverts the inverted bit group based on the instruction from the decision circuit 15 when the last bit of the previous word is “1”. .

【0054】また、決定回路15は、制御信号よって最大
ランレングスが設定値Nを越えることが示された場合に
は、選択信号に基づいて制御ビットを決定するための信
号をビット反転回路13に与える。ビット反転回路13が決
定回路15の出力に基づいて反転ビット群を反転又は非反
転処理することは最大ランレングスが設定値Nを越えな
い場合と同様である。
When the control signal indicates that the maximum run length exceeds the set value N, the decision circuit 15 sends a signal for determining the control bit to the bit inversion circuit 13 based on the selection signal. give. The bit inversion circuit 13 inverts or inverts the inversion bit group based on the output of the decision circuit 15 as in the case where the maximum run length does not exceed the set value N.

【0055】このように、本実施例においては、変調出
力の最終ビットと先頭ビットとの極性に応じて現ワード
の変調出力として取り得るパターンが2パターンである
ことを利用して、前ワードの変調出力が確定する前に、
これらの各パターンについて最大ランレングスを検出
し、前ワードの変調出力が確定した後に、その最終ビッ
トに基づいて現ワードの制御ビットを選択しており、ラ
ンレングスの検出のための十分な処理時間を得て、処理
時間の制約を緩和している。
As described above, in the present embodiment, there are two patterns that can be taken as the modulation output of the current word in accordance with the polarities of the last bit and the first bit of the modulation output, and the pattern of the previous word is utilized. Before the modulation output is confirmed,
For each of these patterns, the maximum run length is detected, and after the modulation output of the previous word is confirmed, the control bit of the current word is selected based on the final bit of the previous word, and sufficient processing time for run length detection is selected. Therefore, the constraint on processing time is relaxed.

【0056】[0056]

【発明の効果】以上説明したように本発明によれば、ラ
ンレングス検出のための処理時間の制約を緩和すること
ができるという効果を有する。
As described above, according to the present invention, there is an effect that the restriction on the processing time for detecting the run length can be relaxed.

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

【図1】本発明に係る符号化装置の一実施例を示すブロ
ック図。
FIG. 1 is a block diagram showing an embodiment of an encoding device according to the present invention.

【図2】図1中のランレングス検出回路14の具体的な構
成を示すブロック図。
FIG. 2 is a block diagram showing a specific configuration of a run length detection circuit 14 in FIG.

【図3】最もランレングスが長くなる変調出力を示す説
明図。
FIG. 3 is an explanatory diagram showing a modulation output having the longest run length.

【図4】変調出力の最終ビット及び先頭ビットと最大ラ
ンレングスの算出に必要な範囲との関係を説明するため
の説明図。
FIG. 4 is an explanatory diagram for explaining a relationship between a final bit and a leading bit of a modulation output and a range necessary for calculating a maximum run length.

【図5】従来の符号化装置を示すブロック図。FIG. 5 is a block diagram showing a conventional encoding device.

【符号の説明】[Explanation of symbols]

11…「0」付加回路、12…プリコーダ、13…ビット反転
回路、14…ランレングス検出回路、15…決定回路
11 ... "0" addition circuit, 12 ... Precoder, 13 ... Bit inversion circuit, 14 ... Run length detection circuit, 15 ... Decision circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力される被変調データのLビット(L
は正の整数)毎に1ビットの所定極性の制御ビットを付
加する制御ビット付加手段と、 この制御ビット付加手段の出力に対しその先頭に所定極
性の1ビットが付加されているものとしてI−NRZI
変換を行って(L+1)ビットのワード単位の変換出力
を出力する変調手段と、 前記変換出力の各ビットのうち前記制御ビットの極性を
変化させた場合にビット反転する反転ビット群を反転又
は非反転させる第1のビット反転手段及び前記変換出力
の各ビットのうち前記制御ビットの極性を変化させても
ビット反転しない共通ビット群を反転又は非反転させる
第2のビット反転手段を有し、前記変換出力の各ビット
を反転又は非反転させて変調出力として出力すると共
に、1ワード前の変調出力に基づいて前記第2のビット
反転手段の反転又は非反転を制御するビット反転手段
と、 前ワードの変調出力の最終ビットと現ワードの変調出力
の先頭ビットとが同一極性であるものとした場合の現ワ
ードの最大ランレングスを検出する第1のランレングス
検出手段と、 前ワードの変調出力の最終ビットと現ワードの変調出力
の先頭ビットとが異なる極性であるものとした場合の現
ワードの最大ランレングスを検出する第2のランレング
ス検出手段と、 前記第1のランレングス検出手段が検出した最大ランレ
ングスと前記第2のランレングス検出手段が検出した最
大ランレングスとを比較して小さい最大ランレングスを
与える前記第1及び第2のランレングス検出手段のうち
のいずれか一方を示す比較結果を出力する比較手段と、 前ワードの変調出力確定後においてその変調出力の最終
ビットに基づいて前記比較結果を反転又は非反転させて
選択信号として出力する反転手段と、 前記選択信号に基づいて前記反転ビット群の反転又は非
反転を制御するための信号を前記ビット反転手段に与え
る決定手段とを具備したことを特徴とする符号化装置。
1. L bits (L bits of input modulated data)
Is a positive integer), a control bit adding means for adding a control bit of a predetermined polarity for each 1 bit, and I-assuming that the output of the control bit adding means has a 1 bit of a predetermined polarity added at the beginning thereof. NRZI
Modulation means for performing conversion and outputting a conversion output in word units of (L + 1) bits, and an inversion bit group that inverts the bits when the polarity of the control bit is changed among the bits of the conversion output is inverted or non-inverted. A first bit inverting means for inverting and a second bit inverting means for inverting or non-inverting a common bit group that does not bit-invert even if the polarity of the control bit is changed among the bits of the converted output, Bit inversion means for inverting or non-inverting each bit of the conversion output and outputting it as a modulation output, and for controlling inversion or non-inversion of the second bit inversion means based on the modulation output of the previous word; The first run for detecting the maximum run length of the current word when the last bit of the modulation output of the current word and the first bit of the modulation output of the current word have the same polarity. Length detecting means, and second run length detecting means for detecting the maximum run length of the current word when the last bit of the modulation output of the previous word and the first bit of the modulation output of the current word have different polarities. Comparing the maximum run length detected by the first run length detection means with the maximum run length detected by the second run length detection means, and giving the smaller maximum run length, the first and second run lengths. Comparing means for outputting a comparison result indicating any one of the detecting means, and inverting or non-inverting the comparison result based on the final bit of the modulation output of the previous word after the modulation output of the previous word is determined and outputting it as a selection signal. And a signal for controlling inversion or non-inversion of the inversion bit group based on the selection signal to the bit inversion means. Encoding apparatus characterized by comprising a determination means for obtaining.
【請求項2】 前記比較手段は、前記第1又は第2のラ
ンレングス検出手段が検出した最大ランレングスが所定
の設定値を越えたか否かを示す制御信号を前記比較結果
と共に出力し、 前記決定手段は、前記制御信号によって前記第1又は第
2のランレングス検出手段が検出した最大ランレングス
が所定の設定値を越えていないことが示された場合に
は、最大ランレングス以外の他の要因に基づいて前記ビ
ット反転手段を制御し、所定の設定値を超えたことが示
された場合には、前記選択信号に基づいて前記ビット反
転手段を制御することを特徴とする請求項1に記載の符
号化装置。
2. The comparison means outputs, together with the comparison result, a control signal indicating whether or not the maximum run length detected by the first or second run length detection means exceeds a predetermined set value, When the control signal indicates that the maximum run length detected by the first or second run length detecting means does not exceed a predetermined set value, the determining means determines a value other than the maximum run length. The bit inverting means is controlled based on a factor, and when it is shown that a predetermined set value is exceeded, the bit inverting means is controlled based on the selection signal. Encoding device described.
【請求項3】 前記第1のランレングス検出手段は、 前ワードまでのランレングスを保持する第1の保持手段
と、 この第1の保持手段の出力と前記変換出力とに基づいて
現ワードの最大ランレングスを検出して前記第1の保持
手段に与えると共に出力する第1の最大ランレングス検
出手段と、 前記第2のランレングス検出手段の出力を前ワードまで
のランレングスとして保持する第2の保持手段と、 この第2の保持手段の出力と前記変換出力とに基づいて
現ワードの最大ランレングスを検出して出力する第2の
最大ランレングス検出手段と、 前記第1及び第2の最大ランレングス検出手段の出力の
いずれか一方を2ワード前の変調出力の最終ビットと前
ワードの変調出力の先頭ビットとが同一極性であるか否
かに基づいて選択して前記比較手段に与える選択手段と
を具備したことを特徴とする請求項1に記載の符号化装
置。
3. The first run length detecting means stores the run length up to the previous word, and a first holding means for holding the run length up to the previous word, and a current word based on the output of the first holding means and the converted output. A first maximum run length detecting means for detecting the maximum run length, giving it to the first holding means and outputting it, and a second holding the output of the second run length detecting means as the run length up to the previous word Holding means for detecting the maximum run length of the current word based on the output of the second holding means and the converted output, and the first and second maximum run length detecting means. One of the outputs of the maximum run length detecting means is selected based on whether or not the last bit of the modulation output two words before and the first bit of the modulation output of the previous word have the same polarity, and the comparison is performed. The encoding apparatus according to claim 1, characterized by comprising a selection means for providing to the stage.
【請求項4】 前記第1及び第2のランレングス検出手
段は、前記変換出力の1ビット前後の排他的論理和演算
結果に基づいて最大ランレングスを検出することを特徴
とする請求項1に記載の符号化装置。
4. The first and second run length detecting means detect the maximum run length based on an exclusive OR operation result of about 1 bit before and after the converted output. Encoding device described.
JP29717094A 1994-11-30 1994-11-30 Encoder Pending JPH08161834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29717094A JPH08161834A (en) 1994-11-30 1994-11-30 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29717094A JPH08161834A (en) 1994-11-30 1994-11-30 Encoder

Publications (1)

Publication Number Publication Date
JPH08161834A true JPH08161834A (en) 1996-06-21

Family

ID=17843093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29717094A Pending JPH08161834A (en) 1994-11-30 1994-11-30 Encoder

Country Status (1)

Country Link
JP (1) JPH08161834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1414035A3 (en) * 2002-10-21 2004-08-04 Ricoh Company, Ltd. Data recording/reproducing device
JP2004527065A (en) * 2001-05-22 2004-09-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Record carrier for storing digital works

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004527065A (en) * 2001-05-22 2004-09-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Record carrier for storing digital works
US8364981B2 (en) 2001-05-22 2013-01-29 Koninklijke Philips Electronics N.V. Record carrier for storing a digital work
EP1414035A3 (en) * 2002-10-21 2004-08-04 Ricoh Company, Ltd. Data recording/reproducing device
US7190653B2 (en) 2002-10-21 2007-03-13 Ricoh Company, Ltd. Data recording/reproducing device
US7382708B2 (en) 2002-10-21 2008-06-03 Ricoh Company, Ltd. Data recording/reproducing device

Similar Documents

Publication Publication Date Title
JPH0449304B2 (en)
JP3334810B2 (en) Encoding method, reproducing method, and reproducing apparatus
CN1080919C (en) Digital signal recording equipment
JPH0472921A (en) Code modulation system
JP2741112B2 (en) Digital modulation method and digital modulation device
JPH08161834A (en) Encoder
JPS58139313A (en) Digital magnetic recorder and reproducer
JP3613689B2 (en) Information converter
US5859600A (en) Apparatus for modulating digital data and adding control data
JPH08161835A (en) Encoder
JPH0480576B2 (en)
JPH0817146A (en) Digital information modulator
JPH08227559A (en) Digital signal modulation device
KR0170245B1 (en) Apparatus for encoding in the digital recording apparatus
JP2637644B2 (en) Information conversion method, pilot signal generation method, and rotating magnetic head device
JPS60178783A (en) Digital recording method
JP3243137B2 (en) Data conversion method
JPH04111259A (en) Information transmission equipment
JP2861318B2 (en) Data detection method
JP3190190B2 (en) Digital modulator
JPH0653837A (en) Digital modulator
JPH0666815B2 (en) Information conversion method and data demodulation method
JPH03234146A (en) Digital modulation method
JPH04108269A (en) N-m converting method
JPH04302868A (en) Magnetic recording and reproducing device