Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3307808B2 - DSV calculator - Google Patents
[go: Go Back, main page]

JP3307808B2 - DSV calculator - Google Patents

DSV calculator

Info

Publication number
JP3307808B2
JP3307808B2 JP25854195A JP25854195A JP3307808B2 JP 3307808 B2 JP3307808 B2 JP 3307808B2 JP 25854195 A JP25854195 A JP 25854195A JP 25854195 A JP25854195 A JP 25854195A JP 3307808 B2 JP3307808 B2 JP 3307808B2
Authority
JP
Japan
Prior art keywords
data
difference
adder
limit value
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25854195A
Other languages
Japanese (ja)
Other versions
JPH09102740A (en
Inventor
俊彦 福岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP25854195A priority Critical patent/JP3307808B2/en
Priority to US08/603,918 priority patent/US6023234A/en
Publication of JPH09102740A publication Critical patent/JPH09102740A/en
Application granted granted Critical
Publication of JP3307808B2 publication Critical patent/JP3307808B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ミニディスク装置
等に用いられるEFM(Eight to Fourteen Modulatio
n)変調において各フレーム信号を接続するマージング
ビットを選択するための指標となるDSV(Digital Su
m Variation)を計算するDSV計算装置に関するもので
あり、特に、DSVの精度を高めるための機能を備えた
DSV計算装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an EFM (Eight to Fourteen Modulatio) used for a mini disc device or the like.
n) DSV (Digital Suspension) serving as an index for selecting merging bits connecting each frame signal in modulation
More specifically, the present invention relates to a DSV calculator having a function of improving the accuracy of DSV.

【0002】[0002]

【従来の技術】EFM変調とは、ミニディスク装置等に
おいて音声データを光ディスクに録音する際に用いられ
る変調方式である。
2. Description of the Related Art EFM modulation is a modulation method used when audio data is recorded on an optical disk in a mini disk device or the like.

【0003】図7(a)は、EFM変調における変換テ
ーブルの一部及びEFM変調されたデータが示す波形で
ある。図7(a)に示すように、EFM変調とは元の8
ビットのディジタルデータを14ビットのパターンに変
換するものである。元の8ビットデータには28 =25
6種類のパターンがあり、各々のパターンに対応した変
換テーブルが用意されている。
FIG. 7A shows a part of a conversion table in EFM modulation and a waveform shown by data subjected to EFM modulation. As shown in FIG. 7A, the EFM modulation is
It converts bit digital data into a 14-bit pattern. 2 8 = 25 for the original 8-bit data
There are six types of patterns, and conversion tables corresponding to each pattern are prepared.

【0004】EFM変調されたデータにおいて、データ
“0”は、Lowレベルを表すのではなく1つ前のデー
タにおける極性(High or Low)を保持する
ことを意味し、データ“1”は、Highレベルを表す
のではなく極性を反転することを意味する。したがっ
て、1つ前のデータの最終ビットにおける極性がHig
hかLowかによってその波形は変化する。
In EFM-modulated data, data “0” does not indicate a Low level but means that the polarity (High or Low) of the immediately preceding data is maintained, and data “1” indicates High. It means to invert the polarity instead of representing the level. Therefore, the polarity of the last bit of the immediately preceding data is High.
The waveform changes depending on h or Low.

【0005】ミニディスクの録音等においてEFM変調
が必要となるのは、光ディスクのピックアップ機構にお
ける周波数帯域が制限されているためである。周波数帯
域が制限されているために、光ディスクに記録されるピ
ットの長さが短すぎるとデータの読み出しが困難にな
る。したがって、ピットの長さが極端に短くならないよ
うに、EFM変調により『“1”と“1”との間に
“0”が2つ以上』入るようなデータに変換している。
14ビットのディジタルデータには2の14乗すなわち
16384種類のパターンがあるので、その中から
『“1”と“1”との間に“0”が2つ以上』という条
件に適したものを256個選び出し、EFM変調の変換
テーブルを構成している。
The reason why EFM modulation is required for recording a mini-disc or the like is that the frequency band in the optical disc pickup mechanism is limited. Since the frequency band is limited, if the length of the pit recorded on the optical disk is too short, it becomes difficult to read data. Therefore, in order to prevent the length of the pit from becoming extremely short, the data is converted into data in which “two or more“ 0 ”s are between“ 1 ”and“ 1 ”” by EFM modulation.
Since 14-bit digital data has 2 to the 14th power, that is, 16384 kinds of patterns, one of the patterns suitable for the condition of “two or more“ 0 ”s between“ 1 ”and“ 1 ”” is selected. 256 are selected to form a conversion table for EFM modulation.

【0006】実際のEFM変調においては、入力された
シリアルデータは8ビットずつのデータに分割され、E
FM変調の変換テーブルに従いそれぞれ14ビットのフ
レームデータに変換されると共に一定数のフレームデー
タ毎に24ビットのフレーム同期信号が挿入される。さ
らに、フレームデータとフレームデータとの間及びフレ
ームデータとフレーム同期信号との間にマージングビッ
トが挿入される。
In actual EFM modulation, input serial data is divided into 8-bit data,
Each frame data is converted into 14-bit frame data according to the conversion table of the FM modulation, and a 24-bit frame synchronization signal is inserted for every fixed number of frame data. Further, merging bits are inserted between the frame data and between the frame data and the frame synchronization signal.

【0007】マージングビットについて以下に説明す
る。
[0007] The merging bits will be described below.

【0008】EFM変調により『“1”と“1”との間
に“0”が2つ以上』入るようなデータに変換しても、
データ同士の接続において『“1”と“1”との間に
“0”が2つ以上』という条件を満足しない場合があ
る。
Even if the data is converted into data in which “two or more“ 0 ”s are between“ 1 ”and“ 1 ”” by EFM modulation,
The connection between data may not satisfy the condition that “two or more“ 0 ”s exist between“ 1 ”and“ 1 ””.

【0009】例えば、あるデータの最終ビットが“1”
であり次のデータの先頭がビットが1であるとすると、
2つのデータを接続したとき“1”と“1”とが連続す
ることになる。したがって、『“1”と“1”との間に
“0”が2つ以上』という条件を満足しない。このよう
な問題を防ぐために、EFM変調においてはデータ同士
の接続のために3ビットのデータを用いている。これが
マージングビットである。
For example, the last bit of certain data is "1"
And the bit of the next data is 1 at the beginning,
When two data are connected, "1" and "1" are continuous. Therefore, the condition of “two or more“ 0 ”s between“ 1 ”and“ 1 ”” is not satisfied. In order to prevent such a problem, 3-bit data is used in EFM modulation to connect data. This is the merging bit.

【0010】マージングビットデータは3ビットである
ので、2の3乗すなわち8種類のビットパターンが存在
する。しかし、『“1”と“1”との間に“0”が2つ
以上』というEFM変調における条件により、「11
1」「110」「101」「011」の4つのパターン
は不適となり、「000」「100」「010」「00
1」の4つのパターンのみが利用可能となる。この4つ
のパターンの中から最適なものをマージングビットとし
てその都度選択する。
Since the merging bit data is 3 bits, there are 2 to the third power, ie, 8 types of bit patterns. However, due to the condition in EFM modulation that “two or more“ 0 ”s are between“ 1 ”and“ 1 ””, “11
The four patterns “1”, “110”, “101”, and “011” are inappropriate, and “000”, “100”, “010”, “00
Only four patterns "1" can be used. The best one of these four patterns is selected each time as a merging bit.

【0011】マージングビットの選択は次のように行
う。まず、前のデータの最後のビットパターンと次のデ
ータの最初のビットパターンとにより、『“1”と
“1”との間に“0”が2つ以上』という条件を満足す
るマージングビットパターンを選択する。
The selection of the merging bit is performed as follows. First, a merging bit pattern that satisfies the condition “two or more“ 0 ”s between“ 1 ”and“ 1 ”” by the last bit pattern of the previous data and the first bit pattern of the next data Select

【0012】例えば、前のデータの最後の3ビットが”
001”であり次のデータの最初の3ビットが”10
0”である場合は、マージングビットとして利用可能な
のは「000」のみである。また、前のデータの最後の
3ビットが”100”であり次のデータの最初の3ビッ
トが”001”である場合は、「000」「100」
「010」「001」の4つのパターンが全てマージン
グビットとして利用可能となる。
For example, if the last three bits of the previous data are "
001 ”and the first three bits of the next data are“ 10 ”.
If it is "0", only "000" can be used as a merging bit. If the last three bits of the previous data are “100” and the first three bits of the next data are “001”, “000” “100”
All four patterns “010” and “001” can be used as merging bits.

【0013】複数のパターンがマージングビットとして
利用可能である場合は、DSVの値を基準にして最適な
パターンを選択する。
If a plurality of patterns can be used as merging bits, an optimum pattern is selected based on the value of DSV.

【0014】ここで、DSV(Digital Sum Variation
)について以下に説明する。
Here, DSV (Digital Sum Variation)
) Will be described below.

【0015】DSVとは、変調されたデータの直流成分
のバランスのずれを表すものであり、実際にはごく簡単
に計算することができる。EFM変調されたデータの波
形において、1ビット当たりHighレベルにあれば+
1、Lowレベルにあれば−1とし、これらの値を加算
していけば良い。
The DSV represents a deviation of the balance of the DC component of the modulated data, and can be calculated very simply in practice. In the EFM-modulated data waveform, if the per bit is at the High level, +
1, if it is at the low level, it is set to -1, and these values may be added.

【0016】図7(b)は、DSVの値によりマージン
グビットを選択する方法について説明するための図であ
る。図7(b)において、前のデータの最後のビットパ
ターンは“010”であり次のデータの最初のビットパ
ターンは“001”であるので、マージングビットとし
て利用可能なのは「000」「010」「001」の3
つのパターンである。したがって、それぞれのパターン
を選択した場合のDSVの値を計算している。ここで、
一つ前のデータの最終ビットにおけるDSV(以後、累
積DSVと呼ぶ)は“−3”であるとする。また、一つ
前のデータの最終ビットにおける極性(以後、累積極性
と呼ぶ)は、Highであるとする。
FIG. 7B is a diagram for explaining a method of selecting a merging bit based on the value of DSV. In FIG. 7B, since the last bit pattern of the previous data is “010” and the first bit pattern of the next data is “001”, “000”, “010”, and “000” can be used as merging bits. 001 ”
There are two patterns. Therefore, the DSV value when each pattern is selected is calculated. here,
It is assumed that the DSV in the last bit of the immediately preceding data (hereinafter, referred to as cumulative DSV) is “−3”. Also, it is assumed that the polarity of the last bit of the immediately preceding data (hereinafter referred to as the accumulated polarity) is High.

【0017】「000」を選択した場合、マージングビ
ットのDSVは“3”でありマージングビットの最終ビ
ットにおける極性はHighとなる。したがって、次の
データのDSVは“+2”となり、次のデータの最終ビ
ットにおけるDSV(以後、新たな累積DSVと呼ぶ)
は“+2”となる。また、「010」を選択した場合、
マージングビットのDSVは“−1”でありマージング
ビットの最終ビットにおける極性はLowとなる。した
がって、次のデータのDSVは“−2”となり、新たな
累積DSVは“−6”となる。また、「001」を選択
した場合、マージングビットのDSVは“+1”であり
マージングビットの最終ビットにおける極性はLowと
なる。したがって、次のデータのDSVは“−2”とな
り、新たな累積DSVは“−4”となる。
When "000" is selected, the DSV of the merging bit is "3", and the polarity of the last bit of the merging bit is high. Therefore, the DSV of the next data becomes “+2”, and the DSV of the last bit of the next data (hereinafter, referred to as a new accumulated DSV)
Becomes “+2”. When “010” is selected,
The DSV of the merging bit is “−1”, and the polarity of the last bit of the merging bit is Low. Therefore, the DSV of the next data is “−2”, and the new accumulated DSV is “−6”. When “001” is selected, the DSV of the merging bit is “+1”, and the polarity of the last bit of the merging bit is Low. Therefore, the DSV of the next data is "-2", and the new accumulated DSV is "-4".

【0018】DSVの値は、0に近い方が音質等の面で
望ましいとされている。したがって、ここでは新たな累
積DSVが0に最も近くなるように、マージングビット
として「000」を選択する。
It is considered that a value of DSV closer to 0 is desirable in terms of sound quality and the like. Therefore, here, “000” is selected as the merging bit so that the new cumulative DSV is closest to zero.

【0019】累積DSVの計算方法には、シリアル方式
及びパラレル方式の2種類がある。
There are two methods for calculating the cumulative DSV: a serial method and a parallel method.

【0020】シリアル方式は、EFM変調されたデータ
に対してデータの先頭から順次1ビットずつDSVを計
算していく方式である。
The serial method is a method of calculating DSV one bit at a time from the beginning of data for EFM-modulated data.

【0021】一方、パラレル方式は、フレーム同期信
号、フレームデータ及びマージングビットのDSVを予
め計算しておき、累積DSVの値に各DSVの値を加え
ていくことによりDSVを計算する方式である。
On the other hand, the parallel method is a method in which the DSV of the frame synchronization signal, the frame data and the merging bit is calculated in advance, and the DSV is calculated by adding the value of each DSV to the value of the accumulated DSV.

【0022】パラレル方式を用いた従来のDSV計算装
置の例として、フレーム同期信号及びフレームデータ信
号のDSVに対する極性評価器と、累積DSV、マージ
ングビットのDSV、並びにフレーム同期信号及びフレ
ームデータ信号のDSVの3種類のデータを加算する加
算手段とを利用することにより、回路規模の縮小を実現
すると共に、加算手段による加算結果におけるオーバー
フロー又はアンダーフローの有無を判定し、オーバーフ
ロー又はアンダーフローが生じたときには例外処理を行
うオーバーフロー・アンダーフロー処理器を備えたもの
がある。
As examples of the conventional DSV calculator using the parallel method, a polarity estimator for the DSV of the frame synchronization signal and the frame data signal, a cumulative DSV, a DSV of the merging bit, and a DSV of the frame synchronization signal and the frame data signal are provided. By using the addition means for adding the three types of data, it is possible to reduce the circuit scale and determine whether or not the addition result by the addition means has an overflow or underflow. Some include an overflow / underflow processor that performs exception processing.

【0023】[0023]

【発明が解決しようとする課題】しかしながら、従来の
DSV計算装置には以下のような問題がある。
However, the conventional DSV calculator has the following problems.

【0024】累積DSVデータを表すビット数によって
累積DSVデータの上限値及び下限値が定まる。例え
ば、累積DSVデータが8ビットで表されているとする
と、10進数にして「−128」から「127」までの
数しか表現できないことになる。ところが実際には、累
積DSVデータが上限値を上回る場合や下限値を下回る
場合もありいわゆるオーバーフロー又はアンダーフロー
が起こる。
The upper limit value and the lower limit value of the accumulated DSV data are determined by the number of bits representing the accumulated DSV data. For example, assuming that the accumulated DSV data is represented by 8 bits, only decimal numbers from “−128” to “127” can be expressed. However, in practice, the accumulated DSV data may exceed the upper limit value or fall below the lower limit value, so that a so-called overflow or underflow occurs.

【0025】従来のDSV計算装置では、累積DSVデ
ータがオーバーフローした場合には新たな累積DSVデ
ータとしてその上限値を出力し、また、累積DSVデー
タがアンダーフローした場合には新たな累積DSVデー
タとしてその下限値を出力していた。このとき、真の累
積DSVデータと新たな累積DSVデータとの間に誤差
が生じることになる。しかも、この誤差はいつまでも修
正されない。したがって、累積DSVを計算していく際
に誤差が残ってしまう可能性があるという問題があっ
た。
In the conventional DSV calculator, when the accumulated DSV data overflows, the upper limit value is output as new accumulated DSV data, and when the accumulated DSV data underflows, it is output as new accumulated DSV data. The lower limit was output. At this time, an error occurs between the true accumulated DSV data and the new accumulated DSV data. Moreover, this error is not corrected forever. Therefore, there is a problem that an error may remain when calculating the cumulative DSV.

【0026】図8は、従来のDSV計算装置における累
積DSVデータの変化を示すグラフである。同図中、
(a)はオーバーフローが起こらないときのグラフ、
(b)はオーバーフローが起こったときのグラフであ
る。また、○はDSV計算装置の加算手段によって得ら
れた累積DSVデータ、□はオーバーフローが起こった
ことによって修正された累積DSVデータである。ここ
では、累積DSVデータは8ビットで表されているもの
としているので、上限値は「127」となり累積DSV
データが「127」を上回るとオーバーフローとなる。
FIG. 8 is a graph showing changes in the accumulated DSV data in the conventional DSV calculator. In the figure,
(A) is a graph when no overflow occurs,
(B) is a graph when an overflow has occurred. In addition, ○ is the accumulated DSV data obtained by the adding means of the DSV calculation device, and □ is the accumulated DSV data corrected by the occurrence of the overflow. Here, since the accumulated DSV data is represented by 8 bits, the upper limit value is “127” and the accumulated DSV data is
When the data exceeds “127”, an overflow occurs.

【0027】図8(a)に示すように、オーバーフロー
が起こらないときは加算手段によって得られた累積DS
Vデータは修正されることがないので、真の累積DSV
データとの間に誤差は生じない。しかし、図8(b)に
示すように、オーバーフローが起こると累積DSVデー
タは上限値「127」に修正されるので、それ以後は加
算手段によって得られた累積DSVデータと真の累積D
SVデータとの間に誤差が生じることになる。この誤差
は以後補正されることがなく、オーバーフローが起こる
毎に益々大きくなっていく。
As shown in FIG. 8 (a), when no overflow occurs, the accumulated DS obtained by the adding means is obtained.
Since the V data is not modified, the true cumulative DSV
No error occurs with the data. However, as shown in FIG. 8B, when an overflow occurs, the cumulative DSV data is corrected to the upper limit value "127", and thereafter, the cumulative DSV data obtained by the adding means and the true cumulative D
An error will occur with the SV data. This error will not be corrected thereafter and will increase with each overflow.

【0028】以上のような問題に鑑み、本発明は、累積
DSVデータがオーバーフロー又はアンダーフローを起
こしても、その精度が低下しないDSV計算装置を提供
することを目的とする。
In view of the above problems, it is an object of the present invention to provide a DSV calculator that does not decrease the accuracy even when the accumulated DSV data overflows or underflows.

【0029】[0029]

【課題を解決するための手段】前記の目的を達成するた
めに、本発明は、累積DSVデータの計算においてオー
バーフロー又はアンダーフローが起こったとき、計算結
果と累積DSVデータの上限値又は下限値との差である
差分データを保持し、後にこの差分データを累積DSV
データに加算する機能を有するオーバーフロー・アンダ
ーフロー処理器を備えるものである。
In order to achieve the above-mentioned object, the present invention relates to a method of calculating the cumulative DSV data, which is performed when an overflow or an underflow occurs in the calculation of the cumulative DSV data. Is stored, and this difference data is later accumulated DSV
An overflow / underflow processor having a function of adding to data is provided.

【0030】具体的に請求項1の発明が講じた解決手段
は、EFM(Eight to Fourteen Modulation)変調にお
いて、変調されたフレーム信号同士を接続するマージン
グビットを選択するための指標となるDSV(Digital
Sum Variation )を一のフレーム信号が入力される毎に
計算するDSV計算装置を対象とし、前記一のフレーム
信号の1つ前のフレーム信号までのDSVの値を表す累
積DSVデータ、前記一のフレーム信号のDSVの値を
表すフレーム信号DSVデータ及び前記一のフレーム信
号と前記一のフレーム信号の1つ前のフレーム信号とを
接続するマージングビットのDSVの値を表すマージン
グビットDSVデータを加算し、その加算結果を出力す
る加算手段と、前記加算手段から出力された加算結果が
オーバーフロー又はアンダーフローを起こしているか否
かを判定し、オーバーフロー又はアンダーフローを起こ
しているときは前記加算結果に例外処理を施して新たな
累積DSVデータとして出力するオーバーフロー・アン
ダーフロー処理器とを備え、前記オーバーフロー・アン
ダーフロー処理器は、前記加算手段から出力された加算
結果がオーバーフローを起こしているとき前記加算結果
と前記累積DSVデータの上限値との差を保持すると共
に、前記加算手段から出力された加算結果がオーバーフ
ローを起こしていないときに保持している差を前記加算
結果に加算する一方、前記加算手段から出力された加算
結果がアンダーフローを起こしているとき前記加算結果
と前記累積DSVデータの下限値との差を保持すると共
に、前記加算手段から出力された加算結果がアンダーフ
ローを起こしていないときに保持している差を前記加算
結果に加算する機能を有する構成とするものである。
Specifically, a solution taken by the first aspect of the present invention is a DSV (Digital-to-Fourteen Modulation) which serves as an index for selecting merging bits for connecting modulated frame signals in EFM (Eight to Fourteen Modulation) modulation.
Sum Variation) is intended for a DSV calculation apparatus that calculates each time one frame signal is input, the cumulative DSV data representing the DSV value up to the frame signal immediately before the one frame signal, the one frame Adding frame signal DSV data representing the value of the DSV of the signal and merging bit DSV data representing the value of the DSV of the merging bit connecting the one frame signal and the frame signal immediately before the one frame signal; Adding means for outputting the addition result; and determining whether or not the addition result output from the addition means has caused an overflow or underflow. When the overflow or underflow has occurred, exception processing is performed on the addition result. And an overflow / underflow processor that outputs as new accumulated DSV data The overflow / underflow processor holds the difference between the addition result and the upper limit value of the accumulated DSV data when the addition result output from the addition means has caused an overflow, and The difference held when the output result does not cause an overflow is added to the addition result. On the other hand, when the addition result output from the adding means underflows, the addition result and the accumulation are added. A structure having a function of holding a difference from the lower limit value of the DSV data and adding the held difference to the addition result when the addition result output from the adding means does not cause an underflow. It is.

【0031】請求項1の発明によると、オーバーフロー
・アンダーフロー処理器によって、加算手段から出力さ
れた加算結果がオーバーフローを起こしているとき前記
加算結果と累積DSVデータの上限値との差が保持され
ると共に、保持された差が前記加算手段から出力された
加算結果がオーバーフローを起こしていないときに前記
加算結果に加算される。このため、オーバーフローが起
こっても、真の累積DSVデータに対する誤差が後に補
正されることになる。また、加算手段から出力された加
算結果がアンダーフローを起こしているとき前記加算結
果と累積DSVデータの下限値との差が保持されると共
に、保持された差が前記加算手段から出力された加算結
果がアンダーフローを起こしていないときに前記加算結
果に加算される。このため、アンダーフローが起こって
も、真の累積DSVデータに対する誤差が後に補正され
ることになる。
According to the first aspect of the present invention, when the addition result output from the addition means overflows, the difference between the addition result and the upper limit value of the accumulated DSV data is held by the overflow / underflow processor. In addition, the held difference is added to the addition result when the addition result output from the adding means does not overflow. Therefore, even if an overflow occurs, an error with respect to the true accumulated DSV data will be corrected later. When the addition result output from the addition means underflows, the difference between the addition result and the lower limit value of the accumulated DSV data is held, and the held difference is added to the addition result output from the addition means. When the result does not cause underflow, it is added to the addition result. Therefore, even if an underflow occurs, an error with respect to the true accumulated DSV data will be corrected later.

【0032】請求項2の発明は、請求項1の発明の構成
に、加算手段は、マージングビットDSVデータとフレ
ーム信号DSVデータとを加算し、その加算結果を出力
する第1の加算器と、前記第1の加算器の加算結果と累
積DSVデータとを加算し、その加算結果を出力する第
2の加算器とを有している構成を付加するものである。
According to a second aspect of the present invention, in the configuration of the first aspect, the adding means adds a merging bit DSV data and the frame signal DSV data, and outputs a result of the addition, This configuration adds a configuration having a second adder that adds the addition result of the first adder and the accumulated DSV data and outputs the addition result.

【0033】請求項3の発明は、請求項2の発明の構成
に、オーバーフロー・アンダーフロー処理器は、第2の
加算器の加算結果がオーバーフロー又はアンダーフロー
を起こしているか否かを判定し、オーバーフローを起こ
しているときは累積DSVデータの上限値を出力しアン
ダーフローを起こしているときは前記累積DSVデータ
の下限値を出力する一方、オーバーフローもアンダーフ
ローも起こしていないときは前記加算結果を出力する第
1の判定器と、前記第2の加算器の加算結果がオーバー
フローを起こしていることが前記第1の判定器によって
判定されたとき前記加算結果と前記累積DSVデータの
上限値との差を計算する一方、前記第2の加算器の加算
結果がアンダーフローを起こしていることが前記第1の
判定器によって判定されたとき前記加算結果と前記累積
DSVデータの下限値との差を計算し、その計算結果を
第1の差分データとして出力する第1の差分計算器と、
差分データ保持器と、前記第1の判定器から出力される
データと前記差分データ保持器に保持されたデータとを
加算し、その加算結果を出力する差分加算器と、前記差
分加算器の加算結果がオーバーフロー又はアンダーフロ
ーを起こしているか否かを判定し、オーバーフローを起
こしているときは前記累積DSVデータの上限値を新た
な累積DSVデータとして出力しアンダーフローを起こ
しているときは前記累積DSVデータの下限値を前記新
たな累積DSVデータとして出力する一方、オーバーフ
ローもアンダーフローも起こしていないときは前記加算
結果を前記新たな累積DSVデータとして出力する第2
の判定器と、前記差分加算器の加算結果がオーバーフロ
ーを起こしていることが前記第2の判定器によって判定
されたとき前記加算結果と前記累積DSVデータの上限
値との差を計算する一方、前記差分加算器の加算結果が
アンダーフローを起こしていることが前記第2の判定器
によって判定されたとき前記加算結果と前記累積DSV
データの下限値との差を計算し、その計算結果を第2の
差分データとして出力する第2の差分計算器と、前記第
1の差分データと前記第2の差分データとを加算し、そ
の加算結果を前記差分データ保持器に保持させる保持デ
ータ加算器とを有する構成を付加するものである。
According to a third aspect of the present invention, in the configuration of the second aspect, the overflow / underflow processor determines whether or not the addition result of the second adder has caused an overflow or an underflow. When an overflow has occurred, the upper limit value of the accumulated DSV data is output. When an underflow has occurred, the lower limit value of the accumulated DSV data is output. On the other hand, when neither an overflow nor an underflow has occurred, the addition result is obtained. When the first determiner determines that the addition result of the first determiner to be output and the addition result of the second adder have caused an overflow, the addition result and the upper limit value of the accumulated DSV data are determined. While calculating the difference, the first determiner determines that the addition result of the second adder is underflowing. Is the difference between the lower limit value of the cumulative DSV data and the addition result calculated when the a first difference calculator for outputting the calculation result as a first difference data,
A difference data holding unit, a difference adder that adds data output from the first determination unit and data held in the difference data holding unit, and outputs a result of the addition; It is determined whether or not the result has caused an overflow or an underflow. If an overflow has occurred, the upper limit value of the accumulated DSV data is output as new accumulated DSV data. Outputting the lower limit value of the data as the new accumulated DSV data, and outputting the addition result as the new accumulated DSV data when neither overflow nor underflow has occurred;
And the difference between the addition result and the upper limit of the cumulative DSV data when the addition result of the difference adder is determined by the second determination device to be overflowing, When the second determiner determines that the addition result of the difference adder is underflowing, the addition result and the accumulated DSV
A second difference calculator that calculates a difference between the lower limit value of the data and outputs the calculation result as second difference data, and adds the first difference data and the second difference data, And a holding data adder for holding the addition result in the difference data holding device.

【0034】請求項3の発明によると、第1の判定器に
よって第2の加算器の加算結果がオーバーフローを起こ
していると判定されたとき、前記加算結果と累積DSV
データの上限値との差が第1の差分計算器から第1の差
分データとして出力される。この第1の差分データは後
述する第2の差分データと加算された後、差分データ保
持器に保持され、次回の計算時に差分加算器によって加
算される。また、第2の判定器によって差分加算器の加
算結果がオーバーフローを起こしていると判定されたと
き、前記加算結果と累積DSVデータの上限値との差が
第2の差分計算器から第2の差分データとして出力され
る。この第2の差分データは第1の差分データと加算さ
れた後、前記差分データ保持器に保持され次回の計算時
に前記差分加算器によって加算される。このため、オー
バーフローが起こっても、真の累積DSVデータに対す
る誤差が後に補正されることになり、しかも誤差が補正
されるときにオーバーフローが起こっても、真の累積D
SVデータに対する誤差が後に補正されることになる。
According to the third aspect of the invention, when the first determiner determines that the addition result of the second adder has caused an overflow, the addition result and the accumulated DSV are compared.
The difference between the data and the upper limit value is output from the first difference calculator as first difference data. After the first difference data is added to second difference data described later, the first difference data is held in a difference data holding unit, and is added by a difference adder at the next calculation. Also, when the second determiner determines that the addition result of the difference adder has caused an overflow, the difference between the addition result and the upper limit value of the accumulated DSV data is calculated by the second difference calculator from the second difference calculator. Output as difference data. After the second difference data is added to the first difference data, the second difference data is held in the difference data holding unit, and is added by the difference adder at the next calculation. For this reason, even if an overflow occurs, an error with respect to the true accumulated DSV data will be corrected later, and even if an overflow occurs when the error is corrected, the true accumulated DV data will be corrected.
The error with respect to the SV data will be corrected later.

【0035】また、第1の判定器によって第2の加算器
の加算結果がアンダーフローを起こしていると判定され
たとき、前記加算結果と累積DSVデータの下限値との
差が第1の差分計算器から第1の差分データとして出力
される。この第1の差分データは後述する第2の差分デ
ータと加算された後、差分データ保持器に保持され、次
回の計算時に差分加算器によって加算される。また、第
2の判定器によって差分加算器の加算結果がアンダーフ
ローを起こしていると判定されたとき、前記加算結果と
累積DSVデータの上限値との差が第2の差分計算器か
ら第2の差分データとして出力される。この第2の差分
データは第1の差分データと加算された後、前記差分デ
ータ保持器に保持され次回の計算時に前記差分加算器に
よって加算される。このため、アンダーフローが起こっ
ても、真の累積DSVデータに対する誤差が後に補正さ
れることになり、しかも誤差が補正されるときにアンダ
ーフローが起こっても、真の累積DSVデータに対する
誤差が後に補正されることになる。
When the first determiner determines that the addition result of the second adder is underflowing, the difference between the addition result and the lower limit of the accumulated DSV data is equal to the first difference. It is output as first difference data from the calculator. After the first difference data is added to second difference data described later, the first difference data is held in a difference data holding unit, and is added by a difference adder at the next calculation. Further, when the second determiner determines that the addition result of the difference adder is underflowing, the difference between the addition result and the upper limit value of the accumulated DSV data is calculated by the second difference calculator from the second difference calculator. Is output as the differential data of. After the second difference data is added to the first difference data, the second difference data is held in the difference data holding unit, and is added by the difference adder at the next calculation. Therefore, even if an underflow occurs, an error with respect to the true accumulated DSV data will be corrected later. Even if an underflow occurs when the error is corrected, an error with respect to the true accumulated DSV data will be corrected later. It will be corrected.

【0036】請求項4の発明は、請求項3の発明の構成
に、前記第1の判定器は、前記累積DSVデータの最上
位ビット、前記第1の加算器の加算結果の最上位ビット
及び前記第2の加算器の加算結果の最上位ビットを基に
して前記第2の加算器の加算結果がオーバーフロー又は
アンダーフローを起こしているか否かを判定し、オーバ
ーフローを起こしているときはオーバーフロー信号を出
力する一方、アンダーフローを起こしているときはアン
ダーフロー信号を出力する上限値・下限値認識器と、前
記上限値・下限値認識器からオーバーフロー信号が入力
されると、前記第1の差分計算器に上限値・下限値デー
タとしての前記累積DSVデータの上限値及び前記第2
の加算器の加算結果がオーバーフローを起こしているこ
とを伝達する判定信号を出力すると共に前記差分加算器
に前記累積DSVデータの上限値を出力する一方、前記
上限値・下限値認識器からアンダーフロー信号が入力さ
れると、前記第1の差分計算器に上限値・下限値データ
としての前記累積DSVデータの下限値及び前記第2の
加算器の加算結果がアンダーフローを起こしていること
を伝達する判定信号を出力すると共に前記差分加算器に
前記累積DSVデータの下限値を出力するデータ選択器
とを有する構成を付加するものである。
According to a fourth aspect of the present invention, in the configuration of the third aspect, the first determiner includes a most significant bit of the accumulated DSV data, a most significant bit of an addition result of the first adder, Based on the most significant bit of the addition result of the second adder, it is determined whether or not the addition result of the second adder has caused an overflow or an underflow. And an upper limit / lower limit recognizer that outputs an underflow signal when an underflow occurs, and an overflow signal from the upper limit / lower limit recognizer outputs the first difference. A calculator is provided with an upper limit value of the cumulative DSV data as upper limit value / lower limit value data and the second limit value.
And outputs an upper limit value of the accumulated DSV data to the difference adder, while outputting an upper limit value of the accumulated DSV data to the difference adder, and outputs an underflow from the upper limit value / lower limit value recognizer. When the signal is input, the first difference calculator is informed that the lower limit value of the accumulated DSV data as the upper limit value / lower limit value data and the addition result of the second adder are underflowing. And a data selector that outputs a lower limit value of the accumulated DSV data to the difference adder.

【0037】請求項5の発明は、請求項4の発明の構成
に、第1の差分計算器は、第1の判定器が有するデータ
選択器から出力される上限値・下限値データを累積DS
Vデータから減算し、その減算結果を出力する減算器
と、前記減算器の減算結果と第1の加算器の加算結果と
を加算し、その加算結果を出力する加算器と、第2の加
算器の加算結果がオーバーフロー又はアンダーフローを
起こしていることが前記データ選択器から出力された判
定信号によって伝達されると、前記加算器の加算結果を
第1の差分データとして出力するデータ選択器とを有す
る構成を付加するものである。
According to a fifth aspect of the present invention, in the configuration of the fourth aspect, the first difference calculator accumulates the upper limit value / lower limit value data output from the data selector of the first decision unit.
A subtractor that subtracts the V data from the V data, and outputs a result of the subtraction; an adder that adds the subtraction result of the subtractor to the addition result of the first adder and outputs the addition result; A data selector that outputs the addition result of the adder as first difference data when the addition result of the adder is transmitted by a determination signal output from the data selector that an overflow or underflow has occurred. Is added.

【0038】請求項6の発明は、請求項3の発明の構成
に、前記第2の判定器は、前記第1の判定器の出力デー
タの最上位ビット、前記差分データ保持器に保持された
データの最上位ビット及び前記差分加算器の加算結果の
最上位ビットを基にして前記差分加算器の加算結果がオ
ーバーフロー又はアンダーフローを起こしているか否か
を判定し、オーバーフローを起こしているときはオーバ
ーフロー信号を出力する一方、アンダーフローを起こし
ているときはアンダーフロー信号を出力する上限値・下
限値認識器と、前記上限値・下限値認識器からオーバー
フロー信号が入力されると、前記第2の差分計算器に上
限値・下限値データとしての前記累積DSVデータの上
限値及び前記差分加算器の加算結果がオーバーフローを
起こしていることを伝達する判定信号を出力すると共に
新たな累積DSVとして前記累積DSVデータの上限値
を出力する一方、前記上限値・下限値認識器からアンダ
ーフロー信号が入力されると、前記第2の差分計算器に
上限値・下限値データとしての前記累積DSVデータの
下限値及び前記差分加算器の加算結果がアンダーフロー
を起こしていることを伝達する判定信号を出力すると共
に新たな累積DSVデータとして前記累積DSVデータ
の下限値を出力するデータ選択器とを有する構成を付加
するものである。
According to a sixth aspect of the present invention, in the configuration of the third aspect, the second determiner holds the most significant bit of the output data of the first determiner and the difference data holder. Based on the most significant bit of the data and the most significant bit of the result of addition of the difference adder, it is determined whether the addition result of the difference adder has caused an overflow or an underflow. When an overflow signal is output, an underflow signal is output when an underflow occurs, and an upper limit / lower limit value recognizer that outputs an underflow signal. That the upper limit value of the accumulated DSV data as the upper limit value / lower limit value data and the addition result of the difference adder cause an overflow in the difference calculator. While outputting a judgment signal to be transmitted and outputting an upper limit value of the accumulated DSV data as a new accumulated DSV, when an underflow signal is input from the upper limit / lower limit value recognizer, the second difference calculator And outputs a lower limit value of the accumulated DSV data as upper limit value / lower limit value data and a determination signal for notifying that the addition result of the difference adder is underflowing, and outputs the accumulated DSV data as new accumulated DSV data. And a data selector for outputting a lower limit value of data.

【0039】請求項7の発明は、請求項6の発明の構成
に、第2の差分計算器は、第2の判定器が有するデータ
選択器から出力される上限値・下限値データを第1の判
定器の出力データから減算し、その減算結果を出力する
減算器と、前記減算器の減算結果と差分データ保持器に
保持されたデータとを加算し、その加算結果を出力する
加算器と、差分加算器の加算結果がオーバーフロー又は
アンダーフローを起こしていることが前記データ選択器
から出力された判定信号によって伝達されると、前記加
算器の加算結果を第2の差分データとして出力するデー
タ選択器とを有する構成を付加するものである。
According to a seventh aspect of the present invention, in the configuration of the sixth aspect, the second difference calculator includes an upper limit value / lower limit value data output from a data selector included in the second determiner. A subtractor that subtracts from the output data of the determiner and outputs a result of the subtraction, and an adder that adds the result of the subtraction and the data held in the difference data holder and outputs the addition result. When the determination result output from the data selector indicates that the addition result of the difference adder has caused an overflow or an underflow, data that outputs the addition result of the adder as second difference data A configuration having a selector is added.

【0040】[0040]

【発明の実施の形態】以下、本発明の一実施形態につい
て、図面を参照しながら説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0041】図1は本発明の一実施形態に係るDSV計
算装置の構成を示すブロック図である。図1において、
12はマージングビットDSV計算器、14はフレーム
信号DSV・極性評価器、16は加算手段、20はオー
バーフロー・アンダーフロー処理器である。加算手段1
6は、第1のビット変換器16a、第2のビット変換器
16b、第1の加算器16c及び第2の加算器16dに
よって構成される。
FIG. 1 is a block diagram showing the configuration of a DSV calculator according to one embodiment of the present invention. In FIG.
12 is a merging bit DSV calculator, 14 is a frame signal DSV / polarity estimator, 16 is an adding means, and 20 is an overflow / underflow processor. Addition means 1
6 includes a first bit converter 16a, a second bit converter 16b, a first adder 16c, and a second adder 16d.

【0042】ここでは、累積DSVデータは8ビットで
表されているものとする。すなわち、累積DSVデータ
の上限値は“127”、下限値は“−128”となる。
Here, it is assumed that the accumulated DSV data is represented by 8 bits. That is, the upper limit value of the accumulated DSV data is “127” and the lower limit value is “−128”.

【0043】マージングビットDSV計算器12は、マ
ージングビット生成器から出力されたマージングビット
が入力されると一つ前のフレーム信号までの累積極性を
考慮した上で前記マージングビットのDSVの値を計算
し、計算結果をマージングビットDSVデータとして第
1のビット変換器16aに出力する。また、前記マージ
ングビットを一つ前のフレーム信号に接続したときの累
積極性信号を仮の累積極性信号としてフレーム信号DS
V・極性評価器14に出力する。
When the merging bit output from the merging bit generator is input, the merging bit DSV calculator 12 calculates the DSV value of the merging bit in consideration of the accumulated polarity up to the immediately preceding frame signal. Then, the calculation result is output to the first bit converter 16a as merging bit DSV data. Further, the accumulated polarity signal obtained when the merging bit is connected to the immediately preceding frame signal is used as a temporary accumulated polarity signal as the frame signal DS.
Output to V / polarity evaluator 14.

【0044】フレーム信号DSV・極性評価器14は、
前記仮の累積極性信号が入力されると共にマージングビ
ット生成器に入力されたフレーム信号に対するフレーム
信号DSVデータ及びフレーム信号極性信号が入力さ
れ、前記仮の累積極性信号を考慮した上で極性評価後フ
レーム信号DSVデータを出力する。また、入力された
フレーム信号までの累積極性信号を新たな累積極性信号
として出力する。
The frame signal DSV / polarity evaluator 14
The frame signal DSV data and the frame signal polarity signal for the frame signal input to the merging bit generator are input while the temporary accumulated polarity signal is input, and the frame after the polarity evaluation is performed in consideration of the temporary accumulated polarity signal. The signal DSV data is output. Further, it outputs the accumulated polarity signal up to the input frame signal as a new accumulated polarity signal.

【0045】加算手段16は、一つ前のフレーム信号ま
での累積DSVデータ、マージングビットDSVデータ
及び極性評価後フレーム信号DSVデータを加算し、加
算結果を出力する。
The adding means 16 adds the accumulated DSV data up to the immediately preceding frame signal, the merging bit DSV data, and the frame signal DSV data after the polarity evaluation, and outputs an addition result.

【0046】加算手段16において、第1のビット変換
器16aは、入力されたマージングビットDSVデータ
のビット数を累積DSVデータのビット数に合わせる。
また、第2のビット変換器16bは、入力された極性評
価後フレーム信号DSVデータのビット数を累積DSV
データのビット数に合わせる。第1の加算器16cは、
第1のビット変換器16aの出力データと第2のビット
変換器16bの出力データとを加算する。第2の加算器
16dは、累積DSVデータと第1の加算器16cの出
力データとを加算する。第2の加算器16dの出力デー
タは、オーバーフロー・アンダーフロー処理器20に出
力される。また、累積DSVデータ及び第1の加算器1
6cの出力データもオーバーフロー・アンダーフロー処
理器20に出力される。
In the adding means 16, the first bit converter 16a adjusts the number of bits of the input merging bit DSV data to the number of bits of the accumulated DSV data.
Further, the second bit converter 16b accumulates the number of bits of the input polarity-evaluated frame signal DSV data into the accumulated DSV data.
Match the number of data bits. The first adder 16c is
The output data of the first bit converter 16a and the output data of the second bit converter 16b are added. The second adder 16d adds the accumulated DSV data and the output data of the first adder 16c. The output data of the second adder 16d is output to the overflow / underflow processor 20. Further, the accumulated DSV data and the first adder 1
The output data 6c is also output to the overflow / underflow processor 20.

【0047】オーバーフロー・アンダーフロー処理器2
0は、加算手段16における第1の加算器16cの出力
データ、第2の加算器16dの出力データ及び累積DS
Vデータを入力とし、オーバーフロー及びアンダーフロ
ーの判定を行った上で新たな累積DSVデータを出力す
る。
Overflow / underflow processor 2
0 is the output data of the first adder 16c, the output data of the second adder 16d and the accumulated DS in the adding means 16.
With V data as input, overflow and underflow are determined, and new accumulated DSV data is output.

【0048】図2は、オーバーフロー・アンダーフロー
処理器20の構成を示すブロック図である。図2におい
て、21は第1の判定器、22は第1の差分計算器、2
3は保持データ加算器、24は差分データ保持器、25
は差分加算器、26は第2の判定器、27は第2の差分
計算器である。第1の判定器21は上限値・下限値認識
器21a及びデータ選択器21bによって構成され、第
2の判定器26は上限値・下限値認識器26a及びデー
タ選択器26bによって構成される。
FIG. 2 is a block diagram showing the configuration of the overflow / underflow processor 20. In FIG. 2, reference numeral 21 denotes a first decision unit, 22 denotes a first difference calculator, 2
3 is a retained data adder, 24 is a differential data retainer, 25
Is a difference adder, 26 is a second determiner, and 27 is a second difference calculator. The first determiner 21 includes an upper / lower value recognizer 21a and a data selector 21b, and the second determiner 26 includes an upper / lower value recognizer 26a and a data selector 26b.

【0049】第1の判定器21は、第2の加算器16d
の出力データがオーバーフロー又はアンダーフローを起
こしているか否かを判定する。第1の差分計算器22
は、第2の加算器16dの出力データがオーバーフロー
を起こしているときは上限値“127”との差を計算す
る一方、アンダーフローを起こしているときは下限値
“−128”との差を計算し、計算結果を第1の差分デ
ータとして出力する。
The first determiner 21 is provided with a second adder 16d.
It is determined whether the output data has overflowed or underflowed. First difference calculator 22
Calculates the difference from the upper limit value "127" when the output data of the second adder 16d overflows, and calculates the difference from the lower limit value "-128" when the output data of the second adder 16d underflows. Calculate and output the calculation result as first difference data.

【0050】保持データ加算器23は、第1の差分デー
タと第2の差分計算器27から出力される第2の差分デ
ータとを加算し、その加算結果を次の累積DSVデータ
の計算時に加算するために差分データ保持器24に保持
させる。
The held data adder 23 adds the first difference data and the second difference data output from the second difference calculator 27, and adds the addition result at the time of calculating the next accumulated DSV data. For this purpose, the data is held in the difference data holding unit 24.

【0051】差分加算器25は、第1の判定器21の出
力データと差分データ保持器24に保持された差分デー
タとを加算する。
The difference adder 25 adds the output data of the first decision unit 21 and the difference data held in the difference data holding unit 24.

【0052】第2の判定器26は、差分加算器25の出
力データがオーバーフロー又はアンダーフローを起こし
ているか否かを判定する。第2の判定器26の出力デー
タは新たな累積DSVデータとして出力される。第2の
差分計算器27は、差分加算器25の出力データがオー
バーフローを起こしているときは上限値“127”との
差を計算する一方、アンダーフローを起こしているとき
は下限値“−128”との差を計算し、計算結果を第2
の差分データとして保持データ加算器23に出力する。
The second determiner 26 determines whether or not the output data of the difference adder 25 has caused an overflow or an underflow. The output data of the second determiner 26 is output as new accumulated DSV data. The second difference calculator 27 calculates the difference from the upper limit value “127” when the output data of the difference adder 25 has overflowed, and calculates the lower limit value “−128” when it has underflowed. ”And calculate the difference to the second
Is output to the held data adder 23 as differential data of

【0053】図2に示すオーバーフロー・アンダーフロ
ー処理器20の動作について、累積DSVデータがオー
バーフローを起こした場合を例にとって説明する。
The operation of the overflow / underflow processor 20 shown in FIG. 2 will be described by taking as an example a case where the accumulated DSV data overflows.

【0054】まず、第1の動作例について説明する。表
1は第1の動作例における各データの変化を示す表であ
る。
First, a first operation example will be described. Table 1 is a table showing a change in each data in the first operation example.

【0055】[0055]

【表1】 [Table 1]

【0056】まず、第2の加算器16dの出力データと
して“130”が得られたとする(列A)。また、差分
データ保持器24はデータ“0”を保持しているとす
る。このとき、第1の判定器21は第2の加算器16d
の出力データがオーバーフローを起こしたと判定し、第
1の差分計算器22に上限値・下限値データとして“1
27”を出力すると共に第2の加算器16dの出力デー
タがオーバーフローを起こしていることを判定信号によ
って伝える。また、差分加算器25にデータ“127”
を出力する。
First, it is assumed that "130" is obtained as output data of the second adder 16d (column A). It is also assumed that the difference data holding unit 24 holds data “0”. At this time, the first determiner 21 outputs the second adder 16d.
It is determined that the output data has overflown, and the first difference calculator 22 outputs “1” as the upper limit value / lower limit value data.
27 "is output, and the fact that the output data of the second adder 16d has caused an overflow is transmitted by a determination signal, and the data" 127 "is sent to the difference adder 25.
Is output.

【0057】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“3”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes from the judgment signal that the output data of the second adder 16d has overflowed, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “3” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0058】差分加算器25は、第1の判定器21の出
力データ“127”と差分データ保持器24に保持され
た差分データとを加算するが、差分データ保持器24に
保持された差分データは“0”であるので“127”を
出力する。第2の判定器26は、差分加算器25の出力
データがオーバーフローを起こしていないので第2の差
分計算器27にはデータを出力せず、新たな累積DSV
データとして“127”を出力する。第2の差分計算器
27から出力される第2の差分データは“0”となるの
で、保持データ加算器23はデータ“3”を差分データ
保持器24に出力し保持させる。
The difference adder 25 adds the output data “127” of the first judging unit 21 and the difference data held in the difference data holding unit 24, and adds the difference data held in the difference data holding unit 24. Is "0" and outputs "127". The second determiner 26 does not output data to the second difference calculator 27 because the output data of the difference adder 25 does not cause an overflow, and the new accumulated DSV
"127" is output as data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs the data “3” to the difference data holder 24 and holds it.

【0059】次に、第1の加算器16cの出力データが
“−7”となったとする(列B)。このとき、第2の加
算器16dの出力データは“120”となり、第1の判
定器21は、第2の加算器16dの出力データがオーバ
ーフローを起こしていないので第1の差分計算器22に
はデータを出力せず、差分加算器25にデータ“12
0”を出力する。第1の差分計算器22から出力される
第1の差分データは“0”となる。
Next, it is assumed that the output data of the first adder 16c has become "-7" (column B). At this time, the output data of the second adder 16d becomes “120”, and the first determiner 21 sends the output data of the second adder 16d to the first difference calculator 22 since the overflow has not occurred. Does not output data, and outputs data “12” to the difference adder 25.
The first difference data output from the first difference calculator 22 is "0".

【0060】差分加算器25は、第1の判定器21から
出力されたデータ“120”と差分データ保持器24に
保持されたデータ“3”とを加算し、データ“123”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
ていないので第2の差分計算器27にはデータを出力せ
ず、新たな累積DSVデータとして“123”を出力す
る。第2の差分計算器27から出力される第2の差分デ
ータは“0”となるので、保持データ加算器23はデー
タ“0”を差分データ保持器24に出力し保持させる。
The difference adder 25 adds the data “120” output from the first decision unit 21 and the data “3” held in the difference data holding unit 24, and adds the data “123”.
Is output to the second determiner 26. The second determiner 26 is
Since the output data of the difference adder 25 has not overflown, no data is output to the second difference calculator 27, and "123" is output as new accumulated DSV data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs the data “0” to the difference data holder 24 and holds it.

【0061】次に、第1の加算器16cの出力データが
“+6”となったとする(列C)。このとき、第2の加
算器16dの出力データは“129”となり、第1の判
定器21は第2の加算器16dの出力データがオーバー
フローを起こしたと判定し、第1の差分計算器22に上
限値・下限値データとして“127”を出力すると共に
第2の加算器16dの出力データがオーバーフローを起
こしていることを判定信号によって伝える。また、差分
加算器25にデータ“127”を出力する。
Next, it is assumed that the output data of the first adder 16c has become "+6" (column C). At this time, the output data of the second adder 16d becomes “129”, the first determiner 21 determines that the output data of the second adder 16d has overflowed, and the first difference calculator 22 "127" is output as the upper limit value / lower limit value data, and the determination signal indicates that the output data of the second adder 16d is overflowing. Further, data “127” is output to the difference adder 25.

【0062】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“2”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes from the judgment signal that the output data of the second adder 16d has overflown, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “2” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0063】差分加算器25は、第1の判定器21の出
力データ“127”と差分データ保持器24に保持され
た差分データとを加算するが、差分データ保持器24に
保持された差分データは“0”であるので“127”が
出力される。第2の判定器26は、差分加算器25の出
力データがオーバーフローを起こしていないので第2の
差分計算器27にはデータを出力せず、新たな累積DS
Vデータとして“127”を出力する。第2の差分計算
器27から出力される第2の差分データは“0”となる
ので、保持データ加算器23はデータ“2”を差分デー
タ保持器24に出力し保持させる。
The difference adder 25 adds the output data “127” of the first judging unit 21 and the difference data held in the difference data holding unit 24, and adds the difference data held in the difference data holding unit 24. Is "0", "127" is output. The second decision unit 26 does not output data to the second difference calculator 27 because the output data of the difference adder 25 does not cause an overflow, and the new accumulated DS
"127" is output as V data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs the data “2” to the difference data holder 24 and holds it.

【0064】次に、第1の加算器16cの出力データが
“−5”となったとする(列D)。このとき、第2の加
算器16dの出力データは“122”となり、第1の判
定器21は、第2の加算器16dの出力データがオーバ
ーフローを起こしていないので第1の差分計算器22に
はデータを出力せず、差分加算器25にデータ“12
2”を出力する。第1の差分計算器22から出力される
第1の差分データは“0”となる。
Next, it is assumed that the output data of the first adder 16c becomes "-5" (column D). At this time, the output data of the second adder 16d becomes “122”, and the first determiner 21 sends the output data of the second adder 16d to the first difference calculator 22 since the overflow has not occurred. Does not output data, and outputs data “12” to the difference adder 25.
2 ". The first difference data output from the first difference calculator 22 is" 0 ".

【0065】差分加算器25は、第1の判定器21から
出力されたデータ“122”と差分データ保持器24に
保持されたデータ“2”とを加算し、データ“124”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
ていないので第2の差分計算器27にはデータを出力せ
ず、新たな累積DSVデータとして“124”を出力す
る。第2の差分計算器27から出力される第2の差分デ
ータは“0”となるので、保持データ加算器23はデー
タ“0”を差分データ保持器24に出力する。
The difference adder 25 adds the data “122” output from the first decision unit 21 and the data “2” held in the difference data holding unit 24, and obtains the data “124”.
Is output to the second determiner 26. The second determiner 26 is
Since the output data of the difference adder 25 has not overflown, no data is output to the second difference calculator 27, and "124" is output as new accumulated DSV data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs data “0” to the difference data holder 24.

【0066】図3は、第1の動作例におけるデータの変
化を示すグラフである。図3において、○は第2の加算
器16dの出力データ、□は第2の判定器26の出力デ
ータすなわち新たな累積DSVデータである。第2の加
算器16dの出力データが上限値“127”を越えてオ
ーバーフローしたとき、その差分データが次のフレーム
信号における累積DSVデータの計算時に加算されてい
るのが分かる。
FIG. 3 is a graph showing a change in data in the first operation example. In FIG. 3, ○ indicates output data of the second adder 16d, and □ indicates output data of the second determiner 26, that is, new accumulated DSV data. When the output data of the second adder 16d overflows beyond the upper limit value "127", it can be seen that the difference data is added when calculating the accumulated DSV data in the next frame signal.

【0067】このように、第2の加算器16dの出力デ
ータがオーバーフローを起こしても、オーバーフローし
た分のデータは差分データ保持器24に保持され、第2
の加算器16dの出力データが上限値を下回ったときに
改めて加算されるので、正確な累積DSVデータが求め
られる。
As described above, even if the output data of the second adder 16d overflows, the overflowed data is held in the difference data holding unit 24,
Is added again when the output data of the adder 16d falls below the upper limit value, so that accurate accumulated DSV data is obtained.

【0068】次に、第2の動作例について説明する。表
2は第2の動作例における各データの変化を示す表であ
る。
Next, a second operation example will be described. Table 2 is a table showing changes in each data in the second operation example.

【0069】[0069]

【表2】 [Table 2]

【0070】まず、第2の加算器16dの出力データと
して“132”が得られたとする(列A)。また、差分
データ保持器24はデータ“0”を保持しているとす
る。このとき、第1の判定器21は第2の加算器16d
の出力データがオーバーフローを起こしたと判定し、第
1の差分計算器22に上限値・下限値データとして“1
27”を出力すると共に第2の加算器16dの出力デー
タがオーバーフローを起こしていることを判定信号によ
って伝える。また、差分加算器25にデータ“127”
を出力する。
First, it is assumed that "132" is obtained as output data of the second adder 16d (column A). It is also assumed that the difference data holding unit 24 holds data “0”. At this time, the first determiner 21 outputs the second adder 16d.
It is determined that the output data has overflown, and the first difference calculator 22 outputs “1” as the upper limit value / lower limit value data.
27 "is output, and the fact that the output data of the second adder 16d has caused an overflow is transmitted by a determination signal, and the data" 127 "is sent to the difference adder 25.
Is output.

【0071】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“5”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes from the judgment signal that the output data of the second adder 16d has overflowed, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “5” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0072】差分加算器25は、第1の判定器21の出
力データ“127”と差分データ保持器24に保持され
た差分データとを加算するが、差分データ保持器24に
保持された差分データは“0”であるので“127”が
出力される。第2の判定器26は、差分加算器25の出
力データがオーバーフローを起こしていないので第2の
差分計算器27にはデータを出力せず、新たな累積DS
Vデータとして“127”を出力する。第2の差分計算
器27から出力される第2の差分データは“0”となる
ので、保持データ加算器23はデータ“5”を差分デー
タ保持器24に出力する。
The difference adder 25 adds the output data “127” of the first judging unit 21 and the difference data held in the difference data holding unit 24, and adds the difference data held in the difference data holding unit 24. Is "0", "127" is output. The second decision unit 26 does not output data to the second difference calculator 27 because the output data of the difference adder 25 does not cause an overflow, and the new accumulated DS
"127" is output as V data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs data “5” to the difference data holder 24.

【0073】次に、第1の加算器16cの出力データが
“−2”となったとする(列B)。このとき、第2の加
算器16dの出力データは“125”となり、第1の判
定器21は、第2の加算器16dの出力データがオーバ
ーフローを起こしていないので第1の差分計算器22に
はデータを出力せず、差分加算器25にデータ“12
5”を出力する。第1の差分計算器22から出力される
第1の差分データは“0”となる。
Next, it is assumed that the output data of the first adder 16c has become "-2" (column B). At this time, the output data of the second adder 16d is “125”, and the first determiner 21 sends the output data of the second adder 16d to the first difference calculator 22 because the overflow of the output data has not occurred. Does not output data, and outputs data “12” to the difference adder 25.
5 ". The first difference data output from the first difference calculator 22 is" 0 ".

【0074】差分加算器25は、第1の判定器21から
出力されたデータ“125”と差分データ保持器24に
保持されたデータ“5”とを加算し、データ“130”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
たと判定し、第2の差分計算器27に上限値・下限値デ
ータとして“127”を出力すると共に差分加算器25
の出力データがオーバーフローを起こしていることを判
定信号によって伝える。また、新たな累積DSVデータ
として“127”を出力する。
The difference adder 25 adds the data “125” output from the first decision unit 21 and the data “5” held in the difference data holding unit 24 to obtain data “130”.
Is output to the second determiner 26. The second determiner 26 is
It is determined that the output data of the difference adder 25 has overflowed, and “127” is output to the second difference calculator 27 as upper limit value / lower limit value data.
That the output data has overflown is transmitted by a determination signal. Also, “127” is output as new accumulated DSV data.

【0075】第2の差分計算器27は、判定信号によっ
て差分加算器25の出力データがオーバーフローを起こ
していると認識し、第1の判定器21の出力データ、差
分データ保持器24の保持データ及び差分加算器25の
出力データを基にして第2の差分データ“3”を計算し
て保持データ加算器23に出力する。保持データ加算器
23はデータ“3”を差分データ保持器24に出力す
る。
The second difference calculator 27 recognizes that the output data of the difference adder 25 has caused the overflow by the judgment signal, and outputs the output data of the first judgment unit 21 and the data held by the difference data holding unit 24. The second difference data “3” is calculated based on the output data of the difference adder 25 and output to the held data adder 23. The held data adder 23 outputs the data “3” to the difference data holder 24.

【0076】次に、第1の加算器16cの出力データが
“−2”となったとする(列C)。このとき、第2の加
算器16dの出力データは“125”となり、第1の判
定器21は、第2の加算器16dの出力データがオーバ
ーフローを起こしていないので第1の差分計算器22に
はデータを出力せず、差分加算器25にデータ“12
5”を出力する。第1の差分計算器22から出力される
第1の差分データは“0”となる。
Next, it is assumed that the output data of the first adder 16c has become "-2" (column C). At this time, the output data of the second adder 16d is “125”, and the first determiner 21 sends the output data of the second adder 16d to the first difference calculator 22 because the overflow of the output data has not occurred. Does not output data, and outputs data “12” to the difference adder 25.
5 ". The first difference data output from the first difference calculator 22 is" 0 ".

【0077】差分加算器25は、第1の判定器21から
出力されたデータ“125”と差分データ保持器24に
保持されたデータ“3”とを加算し、データ“128”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
たと判定し、第2の差分計算器27に上限値・下限値デ
ータとして“127”を出力すると共に差分加算器25
の出力データがオーバーフローを起こしていることを判
定信号によって伝える。また、新たな累積DSVデータ
として“127”を出力する。
The difference adder 25 adds the data “125” output from the first decision unit 21 and the data “3” held in the difference data holding unit 24 to obtain data “128”.
Is output to the second determiner 26. The second determiner 26 is
It is determined that the output data of the difference adder 25 has overflowed, and “127” is output to the second difference calculator 27 as upper limit value / lower limit value data.
That the output data has overflown is transmitted by a determination signal. Also, “127” is output as new accumulated DSV data.

【0078】第2の差分計算器27は、判定信号によっ
て差分加算器25の出力データがオーバーフローを起こ
していると認識し、第1の判定器21の出力データ、差
分データ保持器24の保持データ及び差分加算器25の
出力データを基にして第2の差分データ“1”を計算し
て保持データ加算器23に出力する。保持データ加算器
23はデータ“1”を差分データ保持器24に出力す
る。
The second difference calculator 27 recognizes that the output data of the difference adder 25 has caused an overflow by the judgment signal, and outputs the output data of the first judgment unit 21 and the data held by the difference data holding unit 24. The second difference data “1” is calculated based on the output data of the difference adder 25 and output to the held data adder 23. The held data adder 23 outputs the data “1” to the difference data holder 24.

【0079】次に、第1の加算器16cの出力データが
“−5”となったとする(列D)。このとき、第2の加
算器16dの出力データは“122”となり、第1の判
定器21は、第2の加算器16dの出力データがオーバ
ーフローを起こしていないので第1の差分計算器22に
はデータを出力せず、差分加算器25にデータ“12
2”を出力する。第1の差分計算器22から出力される
第1の差分データは“0”となる。
Next, assume that the output data of the first adder 16c becomes "-5" (column D). At this time, the output data of the second adder 16d becomes “122”, and the first determiner 21 sends the output data of the second adder 16d to the first difference calculator 22 since the overflow has not occurred. Does not output data, and outputs data “12” to the difference adder 25.
2 ". The first difference data output from the first difference calculator 22 is" 0 ".

【0080】差分加算器25は、第1の判定器21から
出力されたデータ“122”と差分データ保持器24に
保持されたデータ“1”とを加算し、データ“123”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
ていないので第2の差分計算器27にはデータを出力せ
ず、新たな累積DSVデータとして“123”を出力す
る。第2の差分計算器27から出力される第2の差分デ
ータは“0”となるので、保持データ加算器23はデー
タ“0”を差分データ保持器24に出力する。
The difference adder 25 adds the data “122” output from the first decision unit 21 and the data “1” held in the difference data holding unit 24 to obtain the data “123”.
Is output to the second determiner 26. The second determiner 26 is
Since the output data of the difference adder 25 has not overflown, no data is output to the second difference calculator 27, and "123" is output as new accumulated DSV data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs data “0” to the difference data holder 24.

【0081】図4は、第2の動作例におけるデータの変
化を示すグラフである。図4において、○は第2の加算
器16dの出力データ、□は第2の判定器26の出力デ
ータすなわち新たな累積DSVデータである。第2の加
算器16dの出力データが上限値“127”を越えてオ
ーバーフローしたとき、その差分データが次の累積DS
Vデータの計算時に加算されているのが分かる。また、
差分データが加算されたときにオーバーフローした場合
でも、その差分データが次の累積DSVデータの計算時
に加算されているのが分かる。
FIG. 4 is a graph showing a change in data in the second operation example. In FIG. 4, ○ indicates output data of the second adder 16d, and □ indicates output data of the second determiner 26, that is, new accumulated DSV data. When the output data of the second adder 16d overflows beyond the upper limit value "127", the difference data is stored in the next accumulated DS.
It can be seen that it is added when calculating the V data. Also,
It can be seen that even when overflow occurs when the difference data is added, the difference data is added at the time of calculating the next accumulated DSV data.

【0082】このように、第2の加算器16dの出力デ
ータがオーバーフローを起こしても、オーバーフローし
た分のデータは差分データ保持器24に保持され、第2
の加算器16dの出力データが上限値“127”を下回
ったときに改めて加算され、さらに加算された結果のデ
ータがオーバーフローを起こしても、オーバーフローし
た分のデータは差分データ保持器24に保持され、第2
の加算器16dの出力データが上限値“127”を下回
ったときに改めて加算されるので、正確な累積DSVデ
ータが求められる。
As described above, even if the output data of the second adder 16d overflows, the data corresponding to the overflow is held in the difference data holding unit 24,
Is added again when the output data of the adder 16d falls below the upper limit value "127", and even if the added data overflows, the overflowed data is held in the difference data holding unit 24. , Second
Is added again when the output data of the adder 16d falls below the upper limit "127", so that accurate accumulated DSV data is obtained.

【0083】次に、第3の動作例について説明する。表
3は第の動作例における各データの変化を示す表であ
る。
Next, a third operation example will be described. Table 3 is a table showing changes in each data in the third operation example.

【0084】[0084]

【表3】 [Table 3]

【0085】まず、第2の加算器16dの出力データと
して“130”が得られたとする(列A)。また、差分
データ保持器24はデータ“0”を保持しているとす
る。このとき、第1の判定器21は第2の加算器16d
の出力データがオーバーフローを起こしたと判定し、第
1の差分計算器22にこの判定結果を判定信号によって
伝えると共に上限値・下限値データとして“127”を
出力する。また、差分加算器25にデータ“127”を
出力する。
First, it is assumed that "130" is obtained as output data of the second adder 16d (column A). It is also assumed that the difference data holding unit 24 holds data “0”. At this time, the first determiner 21 outputs the second adder 16d.
It is determined that the output data has overflown, the determination result is transmitted to the first difference calculator 22 by the determination signal, and "127" is output as the upper limit value / lower limit value data. Further, data “127” is output to the difference adder 25.

【0086】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“3”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes that the output data of the second adder 16d has overflown based on the judgment signal, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “3” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0087】差分加算器25は、第1の判定器21の出
力データ“127”と差分データ保持器24に保持され
た差分データとを加算するが、差分データ保持器24に
保持された差分データは“0”であるので“127”が
出力される。第2の判定器26は、差分加算器25の出
力データがオーバーフローを起こしていないので第2の
差分計算器27にはデータを出力せず、新たな累積DS
Vデータとして“127”を出力する。第2の差分計算
器27から出力される第2の差分データは“0”となる
ので、保持データ加算器23はデータ“3”を差分デー
タ保持器24に出力する。
The difference adder 25 adds the output data “127” of the first judging unit 21 and the difference data held in the difference data holding unit 24, and adds the difference data held in the difference data holding unit 24. Is "0", "127" is output. The second decision unit 26 does not output data to the second difference calculator 27 because the output data of the difference adder 25 does not cause an overflow, and the new accumulated DS
"127" is output as V data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs data “3” to the difference data holder 24.

【0088】次に、第1の加算器16cの出力データが
“+3”となったとする(列B)。このとき、第2の加
算器16dの出力データは“130”となり、第1の判
定器21は第2の加算器16dの出力データがオーバー
フローを起こしたと判定し、第1の差分計算器22にこ
の判定結果を判定信号によって伝えると共に上限値・下
限値データとして“127”を出力する。また、差分加
算器25にデータ“127”を出力する。
Next, it is assumed that the output data of the first adder 16c has become "+3" (column B). At this time, the output data of the second adder 16d becomes “130”, the first determiner 21 determines that the output data of the second adder 16d has overflowed, and the first difference calculator 22 This determination result is transmitted by a determination signal and "127" is output as upper limit value / lower limit value data. Further, data “127” is output to the difference adder 25.

【0089】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“3”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes that the output data of the second adder 16d has overflown by the judgment signal, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “3” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0090】差分加算器25は、第1の判定器21から
出力されたデータ“127”と差分データ保持器24に
保持されたデータ“3”とを加算し、データ“130”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
たと判定し、第2の差分計算器27に判定結果を判定信
号によって伝えると共に上限値・下限値データとして
“127”を出力する。また、新たな累積DSVデータ
として“127”を出力する。
The difference adder 25 adds the data “127” output from the first decision unit 21 and the data “3” held in the difference data holding unit 24 to obtain data “130”.
Is output to the second determiner 26. The second determiner 26 is
It is determined that the output data of the difference adder 25 has overflowed, the determination result is transmitted to the second difference calculator 27 by a determination signal, and “127” is output as the upper limit value / lower limit value data. Also, “127” is output as new accumulated DSV data.

【0091】第2の差分計算器27は、判定信号によっ
て差分加算器25の出力データがオーバーフローを起こ
していると認識し、第1の判定器21の出力データ、差
分データ保持器24の保持データ及び差分加算器25の
出力データを基にして第2の差分データ“3”を計算し
て保持データ加算器23に出力する。保持データ加算器
23は第1の差分データ“3”と第2の差分データ
“3”とを加算し、加算結果の“6”を差分データ保持
器24に出力する。
The second difference calculator 27 recognizes that the output data of the difference adder 25 has caused an overflow by the judgment signal, and outputs the output data of the first judgment unit 21 and the data held in the difference data holding unit 24. The second difference data “3” is calculated based on the output data of the difference adder 25 and output to the held data adder 23. The held data adder 23 adds the first difference data “3” and the second difference data “3”, and outputs the addition result “6” to the difference data holder 24.

【0092】次に、第1の加算器16cの出力データが
“+3”となったとする(列C)。このとき、第2の加
算器16dの出力データは“130”となり、第1の判
定器21は第2の加算器16dの出力データがオーバー
フローを起こしたと判定し、第1の差分計算器22にこ
の判定結果を判定信号によって伝えると共に上限値・下
限値データとして“127”を出力する。また、差分加
算器25にデータ“127”を出力する。
Next, it is assumed that the output data of the first adder 16c has become "+3" (column C). At this time, the output data of the second adder 16d becomes “130”, the first determiner 21 determines that the output data of the second adder 16d has overflowed, and the first difference calculator 22 This determination result is transmitted by a determination signal and "127" is output as upper limit value / lower limit value data. Further, data “127” is output to the difference adder 25.

【0093】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“3”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes from the judgment signal that the output data of the second adder 16d has overflowed, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “3” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0094】差分加算器25は、第1の判定器21から
出力されたデータ“127”と差分データ保持器24に
保持されたデータ“6”とを加算し、データ“133”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
たと判定し、第2の差分計算器27に判定結果を判定信
号によって伝えると共に上限値・下限値データとして
“127”を出力する。また、新たな累積DSVデータ
として“127”を出力する。
The difference adder 25 adds the data “127” output from the first decision unit 21 and the data “6” held in the difference data holding unit 24 to obtain data “133”.
Is output to the second determiner 26. The second determiner 26 is
It is determined that the output data of the difference adder 25 has overflowed, the determination result is transmitted to the second difference calculator 27 by a determination signal, and “127” is output as the upper limit value / lower limit value data. Also, “127” is output as new accumulated DSV data.

【0095】第2の差分計算器27は、判定信号によっ
て差分加算器25の出力データがオーバーフローを起こ
していると認識し、第1の判定器21の出力データ、差
分データ保持器24の保持データ及び差分加算器25の
出力データを基にして第2の差分データ“6”を計算し
て保持データ加算器23に出力する。保持データ加算器
23は第1の差分データ“3”と第2の差分データ
“6”とを加算し、加算結果の“9”を差分データ保持
器24に出力する。
The second difference calculator 27 recognizes that the output data of the difference adder 25 has overflown by the judgment signal, and outputs the output data of the first judgment unit 21 and the data held by the difference data holding unit 24. The second difference data “6” is calculated based on the output data of the difference adder 25 and output to the held data adder 23. The held data adder 23 adds the first difference data “3” and the second difference data “6”, and outputs the added result “9” to the difference data holder 24.

【0096】次に、第1の加算器16cの出力データが
“+3”となったとする(列D)。このとき、第2の加
算器16dの出力データは“130”となり、第1の判
定器21は第2の加算器16dの出力データがオーバー
フローを起こしたと判定し、第1の差分計算器22にこ
の判定結果を判定信号によって伝えると共に上限値・下
限値データとして“127”を出力する。また、差分加
算器25にデータ“127”を出力する。
Next, it is assumed that the output data of the first adder 16c has become "+3" (column D). At this time, the output data of the second adder 16d becomes “130”, the first determiner 21 determines that the output data of the second adder 16d has overflowed, and the first difference calculator 22 This determination result is transmitted by a determination signal and "127" is output as upper limit value / lower limit value data. Further, data “127” is output to the difference adder 25.

【0097】第1の差分計算器22は、判定信号によっ
て第2の加算器16dの出力データがオーバーフローを
起こしていると認識し、上限値・下限値データ、累積D
SVデータ及び第1の加算器16cの出力データを基に
して第1の差分データ“3”を計算して保持データ加算
器23に出力する。
The first difference calculator 22 recognizes from the judgment signal that the output data of the second adder 16d has overflowed, and outputs the upper limit value / lower limit value data and the accumulated D value.
The first difference data “3” is calculated based on the SV data and the output data of the first adder 16 c and output to the held data adder 23.

【0098】差分加算器25は、第1の判定器21から
出力されたデータ“127”と差分データ保持器24に
保持されたデータ“9”とを加算し、データ“136”
を第2の判定器26に出力する。第2の判定器26は、
差分加算器25の出力データがオーバーフローを起こし
たと判定し、第2の差分計算器27に判定結果を判定信
号によって伝えると共に上限値・下限値データとして
“127”を出力する。また、新たな累積DSVデータ
として“127”を出力する。
The difference adder 25 adds the data “127” output from the first decision unit 21 and the data “9” held in the difference data holding unit 24 to obtain the data “136”.
Is output to the second determiner 26. The second determiner 26 is
It is determined that the output data of the difference adder 25 has overflowed, the determination result is transmitted to the second difference calculator 27 by a determination signal, and “127” is output as the upper limit value / lower limit value data. Also, “127” is output as new accumulated DSV data.

【0099】第2の差分計算器27は、判定信号によっ
て差分加算器25の出力データがオーバーフローを起こ
していると認識し、第1の判定器21の出力データ、差
分データ保持器24の保持データ及び差分加算器25の
出力データを基にして第2の差分データ“9”を計算し
て保持データ加算器23に出力する。保持データ加算器
23は第1の差分データ“3”と第2の差分データ
“9”とを加算し、加算結果の“12”を差分データ保
持器24に出力する。
The second difference calculator 27 recognizes that the output data of the difference adder 25 has overflown by the judgment signal, and outputs the output data of the first judgment unit 21 and the data held in the difference data holding unit 24. The second difference data “9” is calculated based on the output data of the difference adder 25 and output to the held data adder 23. The held data adder 23 adds the first difference data “3” and the second difference data “9”, and outputs the added result “12” to the difference data holder 24.

【0100】次に、第1の加算器16cの出力データと
して“−15”が得られたとする(列E)。このとき、
第2の加算器16dの出力データは“112”となり、
第1の判定器21は、第2の加算器16dの出力データ
がオーバーフローを起こしていないので第1の差分計算
器22にはデータを出力せず、差分加算器25にデータ
“112”をそのまま出力する。第1の差分加算器22
から出力される第1の差分データは“0”となる。
Next, it is assumed that "-15" is obtained as the output data of the first adder 16c (column E). At this time,
The output data of the second adder 16d is "112",
The first determiner 21 does not output the data to the first difference calculator 22 because the output data of the second adder 16 d does not overflow, and the data “112” is directly output to the difference adder 25. Output. First difference adder 22
Is "0".

【0101】差分加算器25は、第1の判定器21から
出力されたデータ“112”と差分データ保持器24に
保持されたデータ“12”とを加算し、データ“12
4”を第2の判定器26に出力する。第2の判定器26
は、差分加算器25の出力データがオーバーフローを起
こしていないので第2の差分計算器27にはデータを出
力せず、新たな累積DSVデータとして“124”を出
力する。第2の差分計算器27から出力される第2の差
分データは“0”となるので、保持データ加算器23は
データ“0”を差分データ保持器24に出力する。
The difference adder 25 adds the data “112” output from the first decision unit 21 and the data “12” held in the difference data holding unit 24, and adds the data “12”.
4 "is output to the second determiner 26. The second determiner 26
Outputs no data to the second difference calculator 27 because the output data of the difference adder 25 does not overflow, and outputs "124" as new accumulated DSV data. Since the second difference data output from the second difference calculator 27 is “0”, the held data adder 23 outputs data “0” to the difference data holder 24.

【0102】図5は、第3の動作例におけるデータの変
化を示すグラフである。図5において、○は第2の加算
器16dの出力データ、□は第2の判定器26の出力デ
ータすなわち新たな累積DSVデータである。第2の加
算器16dの出力データが上限値“127”を越えて連
続してオーバーフローした場合でも、その差分データが
累積されていき次の累積DSVデータの計算時に加算さ
れているのが分かる。
FIG. 5 is a graph showing a change in data in the third operation example. In FIG. 5, ○ indicates output data of the second adder 16d, and □ indicates output data of the second determiner 26, that is, new accumulated DSV data. Even when the output data of the second adder 16d continuously overflows beyond the upper limit value "127", it can be seen that the difference data is accumulated and added at the time of calculating the next accumulated DSV data.

【0103】このように、第2の加算器16dの出力デ
ータが連続してオーバーフローを起こしても、オーバー
フローした分のデータは累積されて差分データ保持器2
4に保持され、第2の加算器16dの出力データが上限
値“127”を下回ったときに改めて加算されるので、
正確な累積DSVデータが求められる。
As described above, even if the output data of the second adder 16d continuously overflows, the data corresponding to the overflow is accumulated and stored in the difference data holding unit 2d.
4 and is added again when the output data of the second adder 16d falls below the upper limit “127”.
Accurate accumulated DSV data is required.

【0104】第1の判定器21及び第2の判定器26の
構成についてさらに詳細に説明する。第1の判定器21
及び第2の判定器26は同様の構成によって実現される
ので、ここでは第1の判定器21を例にとって説明す
る。
The configurations of the first determiner 21 and the second determiner 26 will be described in more detail. First determiner 21
And the second determiner 26 are realized by a similar configuration, and therefore the first determiner 21 will be described here as an example.

【0105】上限値・下限値認識器21aには、累積D
SVデータ、第1の加算器16cの出力データ及び第2
の加算器16dの出力データの各々の最上位ビット(M
SB)が入力される。累積DSVデータのMSB及び第
1の加算器16cの出力データのMSBが“0”であり
且つ第2の加算器16dの出力データのMSBが“1”
のときは、上限値・下限値認識器21aは累積DSVデ
ータがオーバーフローを起こしたと認識してデータ選択
器21bにオーバーフロー信号を出力する。また、累積
DSVデータのMSB及び第1の加算器16cの出力デ
ータのMSBが“1”であり且つ第2の加算器16dの
出力データのMSBが“0”のときは、上限値・下限値
認識器21aは累積DSVデータがアンダーフローを起
こしたと認識してデータ選択器21bにアンダーフロー
信号を出力する。
The upper limit / lower limit recognizer 21a stores the cumulative D
SV data, the output data of the first adder 16c and the second
Of the most significant bit (M
SB) is input. The MSB of the accumulated DSV data and the MSB of the output data of the first adder 16c are “0”, and the MSB of the output data of the second adder 16d is “1”.
In this case, the upper limit / lower limit recognizer 21a recognizes that the accumulated DSV data has overflowed and outputs an overflow signal to the data selector 21b. When the MSB of the accumulated DSV data and the MSB of the output data of the first adder 16c are "1" and the MSB of the output data of the second adder 16d is "0", the upper limit value and the lower limit value are set. The recognizer 21a recognizes that the accumulated DSV data has underflowed, and outputs an underflow signal to the data selector 21b.

【0106】データ選択器21bは、オーバーフロー信
号もアンダーフロー信号も入力されないときは、第2の
加算器16dの出力データをそのまま差分加算器25に
出力する。オーバーフロー信号が入力されるときは、差
分加算器25に“127”を出力すると共に、第1の差
分計算器22に判定信号によってオーバーフローを知ら
せると共に上限値・下限値データとして“127”を出
力する。また、アンダーフロー信号が入力されるとき
は、差分加算器25に“−128”を出力すると共に第
1の差分計算器22に判定信号によってアンダーフロー
を知らせると共に上限値・下限値データとして“−12
8”を出力する。
When neither the overflow signal nor the underflow signal is input, the data selector 21b outputs the output data of the second adder 16d to the difference adder 25 as it is. When the overflow signal is input, "127" is output to the difference adder 25, the overflow is notified to the first difference calculator 22 by the judgment signal, and "127" is output as the upper limit value / lower limit value data. . When the underflow signal is input, "-128" is output to the difference adder 25, the underflow is notified to the first difference calculator 22 by the judgment signal, and "-128" is output as the upper limit value / lower limit value data. 12
8 "is output.

【0107】第1の差分計算器22及び第2の差分計算
器27の構成についてさらに詳細に説明する。第1の差
分計算器22及び第2の差分計算器26は同様の構成に
よって実現されるので、ここでは第1の差分計算器22
を例にとって説明する。
The configurations of the first difference calculator 22 and the second difference calculator 27 will be described in more detail. Since the first difference calculator 22 and the second difference calculator 26 are realized by the same configuration, here, the first difference calculator 22 is used.
Will be described as an example.

【0108】図6は、図2に示す第1の差分計算器22
の構成を示すブロック図である。図6において、22a
は減算器、22bは加算器、22cはデータ選択器であ
る。
FIG. 6 shows the first difference calculator 22 shown in FIG.
FIG. 3 is a block diagram showing the configuration of FIG. In FIG. 6, 22a
Is a subtractor, 22b is an adder, and 22c is a data selector.

【0109】第2の加算器16dの出力データがオーバ
ーフローを起こしているとき、減算器22aは累積DS
Vデータと上限値データ“127”との差を計算し、減
算データとして出力する。加算器22bは、減算器22
aから出力された減算データと第1の加算器16cの出
力データとの和を計算し、加算データとして出力する。
第2の加算器16dの出力データがアンダーフローを起
こしているとき、減算器22aは累積DSVデータと下
限値データ“−128”との差を計算し、減算データと
して出力する。加算器22bは、減算器22aから出力
された減算データと第1の加算器16cの出力データと
の和を計算し、加算データとして出力する。
When the output data of the second adder 16d is overflowing, the subtractor 22a outputs the accumulated DS.
The difference between the V data and the upper limit value data “127” is calculated and output as subtraction data. The adder 22b includes a subtractor 22
The sum of the subtraction data output from a and the output data of the first adder 16c is calculated and output as addition data.
When the output data of the second adder 16d is underflowing, the subtractor 22a calculates the difference between the accumulated DSV data and the lower limit data "-128" and outputs the result as subtraction data. The adder 22b calculates the sum of the subtraction data output from the subtractor 22a and the output data of the first adder 16c, and outputs the result as addition data.

【0110】データ選択器22cは、判定信号によって
第2の加算器16dの出力データがオーバーフロー又は
アンダーフローを起こしていると認識すると、加算器2
2bから出力される加算データをそのまま第1の差分デ
ータとして出力する。また、オーバーフローもアンダー
フローも起こしていないときは、第1の差分データとし
て“0”を出力する。
When the data selector 22c recognizes that the output data of the second adder 16d has caused an overflow or an underflow by the judgment signal, the adder 2c
The added data output from 2b is output as it is as the first difference data. When neither overflow nor underflow occurs, “0” is output as the first difference data.

【0111】このように、第1の判定器21及び第2の
判定器26並びに第1の差分計算器22及び第2の差分
計算器は簡易な構成によって実現できるので、オーバー
フロー・アンダーフロー処理器20を回路規模の小さな
構成によって実現することができる。
As described above, the first determiner 21 and the second determiner 26, and the first difference calculator 22 and the second difference calculator can be realized by a simple configuration. 20 can be realized by a configuration with a small circuit scale.

【0112】[0112]

【発明の効果】請求項1又は2の発明に係るDSV計算
装置によると、計算によって求められた累積DSVデー
タにオーバーフロー又はアンダーフローが起こっても真
の累積DSVデータに対する誤差が後に補正されるの
で、累積DSVデータの精度が向上する。
According to the DSV calculation apparatus according to the first or second aspect of the present invention, even if an overflow or an underflow occurs in the accumulated DSV data obtained by calculation, an error with respect to the true accumulated DSV data is corrected later. , The accuracy of the accumulated DSV data is improved.

【0113】請求項3の発明に係るDSV計算装置によ
ると、計算によって求められた累積DSVデータにオー
バーフロー又はアンダーフローが起こっても真の累積D
SVデータに対する誤差が後に補正され、しかも誤差が
補正されるときにオーバーフロー又はアンダーフローが
起こっても真の累積DSVデータに対する誤差が後に補
正されるので、累積DSVデータの精度がさらに向上す
る。
According to the DSV calculation apparatus of the third aspect, even if an overflow or an underflow occurs in the accumulated DSV data obtained by the calculation, the true accumulated D
Since the error with respect to the SV data is corrected later, and the error with respect to the true accumulated DSV data is corrected later even if an overflow or underflow occurs when the error is corrected, the accuracy of the accumulated DSV data is further improved.

【0114】請求項4〜7の発明に係るDSV計算装置
によると、オーバーフロー・アンダーフロー処理器を回
路規模の小さな構成によって実現することができるの
で、回路規模を縮小することができる。
According to the DSV calculator according to the fourth to seventh aspects of the present invention, the overflow / underflow processor can be realized with a small circuit scale, so that the circuit scale can be reduced.

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

【図1】本発明の一実施形態に係るDSV計算装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a DSV calculation device according to an embodiment of the present invention.

【図2】図1に示すDSV計算装置におけるオーバーフ
ロー・アンダーフロー処理器の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a configuration of an overflow / underflow processor in the DSV calculation device shown in FIG.

【図3】図2に示すオーバーフロー・アンダーフロー処
理器の第1の動作例におけるデータの変化を示すグラフ
である。
FIG. 3 is a graph showing a change in data in a first operation example of the overflow / underflow processor shown in FIG. 2;

【図4】図2に示すオーバーフロー・アンダーフロー処
理器の第2の動作例におけるデータの変化を示すグラフ
である。
FIG. 4 is a graph showing a change in data in a second operation example of the overflow / underflow processor shown in FIG. 2;

【図5】図2に示すオーバーフロー・アンダーフロー処
理器の第3の動作例におけるデータの変化を示すグラフ
である。
FIG. 5 is a graph showing a change in data in a third operation example of the overflow / underflow processor shown in FIG. 2;

【図6】図2に示すオーバーフロー・アンダーフロー処
理器における第1の差分計算器の構成を示すブロック図
である。
FIG. 6 is a block diagram illustrating a configuration of a first difference calculator in the overflow / underflow processor illustrated in FIG. 2;

【図7】(a)は、EFM変調における変換テーブルの
一部及びEFM変調されたデータの波形を示す図であ
り、(b)は、DSVの計算方法を説明するための図で
ある。
7A is a diagram illustrating a part of a conversion table in EFM modulation and a waveform of EFM-modulated data, and FIG. 7B is a diagram for explaining a DSV calculation method.

【図8】従来のDSV計算装置における累積DSVデー
タの変化を示すグラフであって、(a)はオーバーフロ
ーが生じていないときのグラフ、(b)はオーバーフロ
ーが生じているときのグラフである。
8A and 8B are graphs showing changes in accumulated DSV data in a conventional DSV calculation device, wherein FIG. 8A is a graph when no overflow occurs, and FIG. 8B is a graph when an overflow occurs.

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

12 マージングビットDSV計算器 14 フレーム信号DSV極性評価器 16 加算手段 16a 第1のビット変換器 16b 第2のビット変換器 16c 第1の加算器 16d 第2の加算器 20 オーバーフローアンダーフロー処理器 21 第1の判定器 21a 上限値・下限値認識器 21b データ選択器 22 第1の差分計算器 23 保持データ加算器 24 差分データ保持器 25 差分加算器 26 第2の判定器 26a 上限値・下限値認識器 26b データ選択器 27 第2の差分計算器 22a 減算器 22b 加算器 22c データ選択器 Reference Signs List 12 Merging bit DSV calculator 14 Frame signal DSV polarity evaluator 16 Adder 16a First bit converter 16b Second bit converter 16c First adder 16d Second adder 20 Overflow underflow processor 21st 1 determiner 21a upper / lower value recognizer 21b data selector 22 first difference calculator 23 held data adder 24 difference data holder 25 difference adder 26 second determiner 26a upper / lower value recognition 26b Data selector 27 Second difference calculator 22a Subtractor 22b Adder 22c Data selector

フロントページの続き (56)参考文献 特開 昭59−57549(JP,A) 特開 昭61−230679(JP,A) 特開 昭62−281523(JP,A) 特開 昭63−298775(JP,A) 特開 平1−252023(JP,A) 特開 昭63−18822(JP,A) 特開 昭62−283719(JP,A) 特開 平2−114724(JP,A) 特開 平4−339365(JP,A) (58)調査した分野(Int.Cl.7,DB名) H03M 7/14 G11B 20/14 341 H04L 25/49 Continuation of front page (56) References JP-A-59-57549 (JP, A) JP-A-61-230679 (JP, A) JP-A-62-281523 (JP, A) JP-A-63-298775 (JP) JP-A 1-252023 (JP, A) JP-A 63-18822 (JP, A) JP-A 62-283719 (JP, A) JP-A 2-114724 (JP, A) 4-339365 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H03M 7/14 G11B 20/14 341 H04L 25/49

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 EFM(Eight to Fourteen Modulatio
n)変調において、変調されたフレーム信号同士を接続
するマージングビットを選択するための指標となるDS
V(Digital Sum Variation )を一のフレーム信号が入
力される毎に計算するDSV計算装置であって、 前記一のフレーム信号の1つ前のフレーム信号までのD
SVの値を表す累積DSVデータ、前記一のフレーム信
号のDSVの値を表すフレーム信号DSVデータ及び前
記一のフレーム信号と前記一のフレーム信号の1つ前の
フレーム信号とを接続するマージングビットのDSVの
値を表すマージングビットDSVデータを加算し、その
加算結果を出力する加算手段と、 前記加算手段から出力された加算結果がオーバーフロー
又はアンダーフローを起こしているか否かを判定し、オ
ーバーフロー又はアンダーフローを起こしているときは
前記加算結果に例外処理を施して新たな累積DSVデー
タとして出力するオーバーフロー・アンダーフロー処理
器とを備え、 前記オーバーフロー・アンダーフロー処理器は、 前記加算手段から出力された加算結果がオーバーフロー
を起こしているとき前記加算結果と前記累積DSVデー
タの上限値との差を保持すると共に、前記加算手段から
出力された加算結果がオーバーフローを起こしていない
ときに保持している差を前記加算結果に加算する一方、
前記加算手段から出力された加算結果がアンダーフロー
を起こしているとき前記加算結果と前記累積DSVデー
タの下限値との差を保持すると共に、前記加算手段から
出力された加算結果がアンダーフローを起こしていない
ときに保持している差を前記加算結果に加算する機能を
有することを特徴とするDSV計算装置。
1. An EFM (Eight to Fourteen Modulatio)
n) In modulation, DS as an index for selecting merging bits for connecting modulated frame signals to each other
A DSV calculator for calculating V (Digital Sum Variation) every time one frame signal is input, wherein D is a value up to a frame signal immediately before the one frame signal.
Cumulative DSV data representing the value of the SV, frame signal DSV data representing the value of the DSV of the one frame signal, and merging bits for connecting the one frame signal and the frame signal immediately before the one frame signal. Adding means for adding merging bit DSV data representing the value of DSV and outputting the addition result; and determining whether the addition result output from the addition means has caused overflow or underflow, and determining whether the overflow or underflow has occurred. An overflow / underflow processor that performs exception processing on the addition result when the flow is occurring and outputs the result as new accumulated DSV data; and wherein the overflow / underflow processor outputs the addition result. When the addition result is overflowing, The holds the difference between the upper limit value of the cumulative DSV data, while output addition result from said adding means for adding the difference held when no overflows to the addition result and,
When the addition result output from the addition means underflows, the difference between the addition result and the lower limit value of the accumulated DSV data is held, and the addition result output from the addition means underflows. A DSV calculation device having a function of adding a difference held when the difference is not present to the addition result.
【請求項2】 加算手段は、 マージングビットDSVデータとフレーム信号DSVデ
ータとを加算し、その加算結果を出力する第1の加算器
と、 前記第1の加算器の加算結果と累積DSVデータとを加
算し、その加算結果を出力する第2の加算器とを有して
いることを特徴とする請求項1に記載のDSV計算装
置。
2. An adder for adding a merging bit DSV data and a frame signal DSV data and outputting a result of the addition, a first adder for adding the result of the addition and the accumulated DSV data to the first adder. 2. The DSV calculation apparatus according to claim 1, further comprising: a second adder for adding the sum and outputting the addition result.
【請求項3】 オーバーフロー・アンダーフロー処理器
は、 第2の加算器の加算結果がオーバーフロー又はアンダー
フローを起こしているか否かを判定し、オーバーフロー
を起こしているときは累積DSVデータの上限値を出力
しアンダーフローを起こしているときは前記累積DSV
データの下限値を出力する一方、オーバーフローもアン
ダーフローも起こしていないときは前記加算結果を出力
する第1の判定器と、 前記第2の加算器の加算結果がオーバーフローを起こし
ていることが前記第1の判定器によって判定されたとき
前記加算結果と前記累積DSVデータの上限値との差を
計算する一方、前記第2の加算器の加算結果がアンダー
フローを起こしていることが前記第1の判定器によって
判定されたとき前記加算結果と前記累積DSVデータの
下限値との差を計算し、その計算結果を第1の差分デー
タとして出力する第1の差分計算器と、 差分データ保持器と、 前記第1の判定器から出力されるデータと前記差分デー
タ保持器に保持されたデータとを加算し、その加算結果
を出力する差分加算器と、 前記差分加算器の加算結果がオーバーフロー又はアンダ
ーフローを起こしているか否かを判定し、オーバーフロ
ーを起こしているときは前記累積DSVデータの上限値
を新たな累積DSVデータとして出力しアンダーフロー
を起こしているときは前記累積DSVデータの下限値を
前記新たな累積DSVデータとして出力する一方、オー
バーフローもアンダーフローも起こしていないときは前
記加算結果を前記新たな累積DSVデータとして出力す
る第2の判定器と、 前記差分加算器の加算結果がオーバーフローを起こして
いることが前記第2の判定器によって判定されたとき前
記加算結果と前記累積DSVデータの上限値との差を計
算する一方、前記差分加算器の加算結果がアンダーフロ
ーを起こしていることが前記第2の判定器によって判定
されたとき前記加算結果と前記累積DSVデータの下限
値との差を計算し、その計算結果を第2の差分データと
して出力する第2の差分計算器と、 前記第1の差分データと前記第2の差分データとを加算
し、その加算結果を前記差分データ保持器に保持させる
保持データ加算器とを有することを特徴とする請求項2
に記載のDSV計算装置。
3. An overflow / underflow processor determines whether or not the addition result of the second adder has caused an overflow or an underflow. If an overflow has occurred, the overflow / underflow processor determines an upper limit value of the accumulated DSV data. If the output is underflow, the accumulated DSV
While outputting the lower limit value of the data, when neither overflow nor underflow has occurred, a first determiner that outputs the addition result, and that the addition result of the second adder has caused an overflow. While the difference between the addition result and the upper limit value of the accumulated DSV data is calculated when determined by the first determiner, the first result indicates that the addition result of the second adder is underflowed. A first difference calculator that calculates a difference between the addition result and the lower limit value of the accumulated DSV data when the determination result is determined by the determination unit, and outputs the calculation result as first difference data; A difference adder that adds data output from the first determiner and data held in the difference data holding unit, and outputs a result of the addition; It is determined whether or not the result of addition has caused an overflow or an underflow. When an overflow has occurred, the upper limit value of the accumulated DSV data is output as new accumulated DSV data. A second determiner that outputs a lower limit value of the accumulated DSV data as the new accumulated DSV data, and outputs an addition result as the new accumulated DSV data when neither overflow nor underflow occurs; When it is determined by the second determiner that the addition result of the adder has caused an overflow, the difference between the addition result and the upper limit value of the accumulated DSV data is calculated, while the addition result of the difference adder is calculated. Before the second determiner determines that the underflow has occurred A second difference calculator that calculates a difference between the addition result and the lower limit value of the accumulated DSV data, and outputs the calculation result as second difference data; and a second difference calculator that calculates the difference between the first difference data and the second difference. 3. A holding data adder for adding data and holding the addition result in the difference data holding unit.
3. The DSV calculator according to 1.
【請求項4】 請求項3に記載のDSV計算装置におい
て、 前記第1の判定器は、 前記累積DSVデータの最上位ビット、前記第1の加算
器の加算結果の最上位ビット及び前記第2の加算器の加
算結果の最上位ビットを基にして前記第2の加算器の加
算結果がオーバーフロー又はアンダーフローを起こして
いるか否かを判定し、オーバーフローを起こしていると
きはオーバーフロー信号を出力する一方、アンダーフロ
ーを起こしているときはアンダーフロー信号を出力する
上限値・下限値認識器と、 前記上限値・下限値認識器からオーバーフロー信号が入
力されると、前記第1の差分計算器に上限値・下限値デ
ータとしての前記累積DSVデータの上限値及び前記第
2の加算器の加算結果がオーバーフローを起こしている
ことを伝達する判定信号を出力すると共に前記差分加算
器に前記累積DSVデータの上限値を出力する一方、前
記上限値・下限値認識器からアンダーフロー信号が入力
されると、前記第1の差分計算器に上限値・下限値デー
タとしての前記累積DSVデータの下限値及び前記第2
の加算器の加算結果がアンダーフローを起こしているこ
とを伝達する判定信号を出力すると共に前記差分加算器
に前記累積DSVデータの下限値を出力するデータ選択
器とを有することを特徴とするDSV計算装置。
4. The DSV calculation apparatus according to claim 3, wherein the first determiner includes a most significant bit of the accumulated DSV data, a most significant bit of an addition result of the first adder, and the second bit. It is determined whether or not the addition result of the second adder has caused an overflow or an underflow based on the most significant bit of the addition result of the adder. If an overflow has occurred, an overflow signal is output. On the other hand, when an underflow occurs, an upper limit / lower limit value recognizer that outputs an underflow signal, and when an overflow signal is input from the upper limit / lower limit value recognizer, the first difference calculator Determination that the upper limit value of the accumulated DSV data as the upper limit value / lower limit value data and the addition result of the second adder indicate that an overflow has occurred. While outputting a signal and outputting the upper limit value of the accumulated DSV data to the difference adder, when an underflow signal is input from the upper limit value / lower limit value recognizer, the upper limit value is supplied to the first difference calculator. The lower limit of the cumulative DSV data as the lower limit data and the second lower limit;
And a data selector for outputting a determination signal indicating that the addition result of the adder underflow has occurred and outputting a lower limit value of the accumulated DSV data to the difference adder. Computing device.
【請求項5】 第1の差分計算器は、 第1の判定器が有するデータ選択器から出力される上限
値・下限値データを累積DSVデータから減算し、その
減算結果を出力する減算器と、 前記減算器の減算結果と第1の加算器の加算結果とを加
算し、その加算結果を出力する加算器と、 第2の加算器の加算結果がオーバーフロー又はアンダー
フローを起こしていることが前記データ選択器から出力
された判定信号によって伝達されると、前記加算器の加
算結果を第1の差分データとして出力するデータ選択器
とを有することを特徴とする請求項4に記載のDSV計
算装置。
5. A first difference calculator for subtracting upper limit value / lower limit value data output from a data selector included in a first determiner from accumulated DSV data, and outputting a subtraction result. The adder that adds the subtraction result of the subtractor and the addition result of the first adder and outputs the addition result, and that the addition result of the second adder causes an overflow or an underflow. 5. The DSV calculation according to claim 4, further comprising: a data selector that outputs the addition result of the adder as first difference data when transmitted by a determination signal output from the data selector. 6. apparatus.
【請求項6】 請求項3に記載のDSV計算装置におい
て、 前記第2の判定器は、 前記第1の判定器の出力データの最上位ビット、前記差
分データ保持器に保持されたデータの最上位ビット及び
前記差分加算器の加算結果の最上位ビットを基にして前
記差分加算器の加算結果がオーバーフロー又はアンダー
フローを起こしているか否かを判定し、オーバーフロー
を起こしているときはオーバーフロー信号を出力する一
方、アンダーフローを起こしているときはアンダーフロ
ー信号を出力する上限値・下限値認識器と、 前記上限値・下限値認識器からオーバーフロー信号が入
力されると、前記第2の差分計算器に上限値・下限値デ
ータとしての前記累積DSVデータの上限値及び前記差
分加算器の加算結果がオーバーフローを起こしているこ
とを伝達する判定信号を出力すると共に新たな累積DS
Vとして前記累積DSVデータの上限値を出力する一
方、前記上限値・下限値認識器からアンダーフロー信号
が入力されると、前記第2の差分計算器に上限値・下限
値データとしての前記累積DSVデータの下限値及び前
記差分加算器の加算結果がアンダーフローを起こしてい
ることを伝達する判定信号を出力すると共に新たな累積
DSVデータとして前記累積DSVデータの下限値を出
力するデータ選択器とを有することを特徴とするDSV
計算装置。
6. The DSV calculation device according to claim 3, wherein the second determiner includes a most significant bit of output data of the first determiner and a most significant bit of data stored in the difference data retainer. It is determined whether or not the addition result of the difference adder has caused an overflow or an underflow based on the most significant bit and the most significant bit of the addition result of the difference adder.If an overflow has occurred, an overflow signal is generated. An upper limit value / lower limit value recognizer that outputs an underflow signal when an underflow occurs, and an overflow signal input from the upper limit value / lower limit value recognizer, the second difference calculation. That the upper limit value of the accumulated DSV data as the upper limit value / lower limit value data and the addition result of the difference adder overflow. Is output and a new accumulated DS is output.
While the upper limit value of the accumulated DSV data is output as V, when an underflow signal is input from the upper limit value / lower limit value recognizer, the accumulated value as the upper limit value / lower limit value data is input to the second difference calculator. A data selector that outputs a lower limit value of the DSV data and a determination signal indicating that the addition result of the difference adder is underflowing, and outputs the lower limit value of the accumulated DSV data as new accumulated DSV data; DSV characterized by having
Computing device.
【請求項7】 第2の差分計算器は、 第2の判定器が有するデータ選択器から出力される上限
値・下限値データを第1の判定器の出力データから減算
し、その減算結果を出力する減算器と、 前記減算器の減算結果と差分データ保持器に保持された
データとを加算し、その加算結果を出力する加算器と、 差分加算器の加算結果がオーバーフロー又はアンダーフ
ローを起こしていることが前記データ選択器から出力さ
れた判定信号によって伝達されると、前記加算器の加算
結果を第2の差分データとして出力するデータ選択器と
を有することを特徴とする請求項6に記載のDSV計算
装置。
7. The second difference calculator subtracts upper limit value / lower limit value data output from a data selector included in the second determiner from output data of the first determiner, and calculates a result of the subtraction. A subtractor to output, an adder that adds the subtraction result of the subtractor and the data held in the difference data holding unit, and outputs the addition result, and an addition result of the difference adder causes overflow or underflow. And a data selector for outputting, as second difference data, an addition result of the adder when the determination is transmitted by a determination signal output from the data selector. The described DSV calculator.
JP25854195A 1995-02-23 1995-10-05 DSV calculator Expired - Fee Related JP3307808B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP25854195A JP3307808B2 (en) 1995-10-05 1995-10-05 DSV calculator
US08/603,918 US6023234A (en) 1995-02-23 1996-02-22 EFM encoder and DSV calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25854195A JP3307808B2 (en) 1995-10-05 1995-10-05 DSV calculator

Publications (2)

Publication Number Publication Date
JPH09102740A JPH09102740A (en) 1997-04-15
JP3307808B2 true JP3307808B2 (en) 2002-07-24

Family

ID=17321668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25854195A Expired - Fee Related JP3307808B2 (en) 1995-02-23 1995-10-05 DSV calculator

Country Status (1)

Country Link
JP (1) JP3307808B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3960263B2 (en) * 2003-05-21 2007-08-15 ソニー株式会社 Data recording method

Also Published As

Publication number Publication date
JPH09102740A (en) 1997-04-15

Similar Documents

Publication Publication Date Title
EP0074656A2 (en) Method and apparatus for encoding a binary digital information signal
US5675565A (en) Data reproduction method and apparatus
EP0535560B1 (en) Modulator circuit for recording a digital signal on a recording medium
US6236628B1 (en) Read channel circuit for optical disk reproducing apparatus
KR20000032910A (en) Apparatus for correcting asymmetry of reproduced signal in optical disc system
US6023234A (en) EFM encoder and DSV calculator
JPH08255303A (en) Waveform shaping circuit for analog signals
JP3307808B2 (en) DSV calculator
EP1220218B1 (en) Method and apparatus for processing digital audio signal
US6847601B2 (en) Data recovery apparatus and method
EP0753850A1 (en) Signal binary coding and digital signal processing
EP0594413B1 (en) Modulator with control of a digital sum variation
JP2656024B2 (en) Modulation circuit
JPH06124545A (en) Clock signal automatic phase adjustment circuit
JP3611359B2 (en) EFM modulator
EP0300826A2 (en) Digital data detector
EP0520378A2 (en) Overflow detection system and its circuit for use in addition and subtraction
EP0180971A2 (en) Wave shaping circuit
KR100524924B1 (en) Signal Reproducing Apparatus and Method in Optical Disc System
JPH05167569A (en) Digital data detector
JPH0652869B2 (en) Digital / analog converter
KR100190098B1 (en) Digital adaptable fir filter embodying method with pr4 signal detection
JP2638344B2 (en) Digital data converter
JPH0732347B2 (en) Circuit type digital filter
JPH05325413A (en) Information playback device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020423

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees