JPS59188728A - Digital signal processing circuit - Google Patents

Digital signal processing circuit

Info

Publication number
JPS59188728A
JPS59188728A JP6258083A JP6258083A JPS59188728A JP S59188728 A JPS59188728 A JP S59188728A JP 6258083 A JP6258083 A JP 6258083A JP 6258083 A JP6258083 A JP 6258083A JP S59188728 A JPS59188728 A JP S59188728A
Authority
JP
Japan
Prior art keywords
overflow
digital signal
data
signal
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6258083A
Other languages
Japanese (ja)
Inventor
Fukunori Sekiguchi
関口 福徳
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP6258083A priority Critical patent/JPS59188728A/en
Publication of JPS59188728A publication Critical patent/JPS59188728A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To estimate the level of an analog signal before digitization of an overflowed digital signal, by directly detecting the overflow of the digital signal from the said digitized signal. CONSTITUTION:At an overflow data forming section 30 equipped with the 1st and 2nd shift registers 31 and 33 and 1st-5th AND gates 32, 34, 35, 36, and 37, a period, during which the maximum value data of digital signals outputted from an AD converter 11 continue, is judged as an overflow period and overflow data Q0, Q1, and Q2 corresponding to the length of the period are outputted. Since the length of overflowing period usually corresponds to the level of overflowed signals in the case of input analog signals having simple waveforms, such as a sine wave signal, etc., the overflow data Q0, Q1, and Q2 give information indicating the level of overflowed signals of input analog signals.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デジタル信号のオーパンローを検出するため
のデジタル信号処理回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital signal processing circuit for detecting an open low of a digital signal.

〔背景技術とその問題点〕[Background technology and its problems]

一般に、アナログ信号をデジタル信号に変換するアナロ
グデジタル(A/D )変換回路では、そのダイナミッ
クレンジ以上の信号レベルのアナログ信号が印加される
と所謂オーバフロー状態と々シ、上記ダイナミックレン
ジを越えた信号レベルを量子化レベルの最大値のデータ
に変換してしまう。従って、上記オーバフローを生じた
デジタル信号についてデジタル演算処理を行っても、正
しい演算結果を得ることはできない。
Generally, in an analog-to-digital (A/D) conversion circuit that converts an analog signal into a digital signal, when an analog signal with a signal level exceeding the dynamic range is applied, a so-called overflow state occurs, and the signal exceeds the dynamic range. The level is converted to data with the maximum value of the quantization level. Therefore, even if digital arithmetic processing is performed on the digital signal that has caused the overflow, correct arithmetic results cannot be obtained.

そこで、従来よシアナログ信号をデジタル信号に変換す
る場合には、第1図に示すように、A/D変換回路2に
てデジタル化する入力アナログ信号をレベルコンパレー
タ1に供給し、入力アナログ信号の信号レベルが上記A
/D変換回路2のダイナミックレンジを越えるか否かす
なわちオーバフローを生ずるか否かを上記レベルコンパ
レータ1にて検出し、上記A/D変換回路2にて得られ
るデジタル信号と上記レベルコンパレータ1にて検出さ
れるオーバフロー信号とを同時に出力するようにしてい
た。
Conventionally, when converting an analog signal into a digital signal, as shown in FIG. 1, the input analog signal to be digitized by the A/D conversion circuit 2 is supplied to the level comparator 1, The signal level of
The level comparator 1 detects whether the dynamic range of the /D conversion circuit 2 is exceeded, that is, whether an overflow occurs, and the digital signal obtained from the A/D conversion circuit 2 is compared with the level comparator 1. The detected overflow signal was output at the same time.

このように、デジタル信号のオーバフローをデジタル化
前の入力アナログ信号から検出していた従来のA/D変
換装置では、デジタル信号とオーバフロー信号とを後段
側のデジタル信号処理装置に伝送しなければならず、ま
た、デジタル信号処理装置側ではオーパンロー信号が伝
送されなければデジタル信号についてオーパンローを考
慮した正しい信号処理を行なうことができないでいた。
In this way, in conventional A/D converters that detect overflow of digital signals from input analog signals before digitization, it is necessary to transmit the digital signals and overflow signals to the digital signal processing device at the subsequent stage. First, on the digital signal processing device side, unless the open-low signal is transmitted, it is not possible to perform correct signal processing on the digital signal taking open-low signals into consideration.

〔発明の目的〕[Purpose of the invention]

本発明は、デジタル信号のオーバ70−を上記デジタル
信号から直接検出し、オーバフローしたデジタル信号の
デジタル化前のアナログ信号の信号レベルを推定可能に
することを目的とする。
An object of the present invention is to directly detect the overflow 70- of the digital signal from the digital signal, and to make it possible to estimate the signal level of the analog signal before digitization of the overflowing digital signal.

〔発明の概要〕[Summary of the invention]

本発明に係るデジタル信号処理回路は、上述の目的を達
成するためにデジタル信号の最大値データを検出する第
1の検出手段と、この第1の検出手段による検出出力が
連続する期間を検出する第2の検出手段と、この第2の
検出手段による検出出力に基づいて上記最大値データが
連続する期間に対応したオーバフローデータを形成して
出力するデータ形成手段とを備えたことを特徴とするも
のである。
In order to achieve the above-mentioned object, the digital signal processing circuit according to the present invention includes a first detection means for detecting the maximum value data of a digital signal, and a period during which the detection output from the first detection means is continuous. The present invention is characterized by comprising a second detection means and a data formation means for forming and outputting overflow data corresponding to a period in which the maximum value data is continuous based on the detection output of the second detection means. It is something.

すなわち、本発明では、アナログ信号をデジタル化した
デジタル信号がオーバフロー’を生しているオーバフロ
ー期間中に最大値データの連続した状態になるので、上
記最大値データの連続する期間に基づいてデジタル信号
のオーバノロ一部分の元のアナログ信号の信号レベルを
推定したオーパンローデータを形成する。
That is, in the present invention, since the digital signal obtained by digitizing the analog signal is in a continuous state of maximum value data during an overflow period in which an overflow occurs, the digital signal is converted based on the continuous period of maximum value data. Open low data is formed by estimating the signal level of the original analog signal of the over low part.

〔実施例〕〔Example〕

以下、本発明に係るデジタル信号処理回路の一実施例に
ついて図面に従い詳細に説明する。
Hereinafter, one embodiment of the digital signal processing circuit according to the present invention will be described in detail with reference to the drawings.

第2図に示す実施例において、A/D変換器11は信号
入力端子1oから供給される入力アナログ信号全nビッ
トのデジタル信号に変換して、nビットのデータCB、
−Bn)iパラレル出力する。
In the embodiment shown in FIG. 2, the A/D converter 11 converts all the input analog signals supplied from the signal input terminal 1o into n-bit digital signals, and converts the input analog signals supplied from the signal input terminal 1o into n-bit data CB,
-Bn) i Output in parallel.

ここで、A/D変換回路11にて得られるnビットのデ
ジタル信号は、最上位1ビツトBnを極性□ データとし、最下位ビットBIがら、n−1ビツト(B
n、、、、)までが全て論理「l」のとき最大値になる
ものとする。
Here, the n-bit digital signal obtained by the A/D conversion circuit 11 has the most significant bit Bn as polarity □ data, and the least significant bit BI as n-1 bits (B
n, .

そして、上記A/D変換器11がら出力されるデジタル
信号の最大値は、n−1人力のANDゲート21を用い
た最大値検出部2oにて検出されるようになっている。
The maximum value of the digital signal output from the A/D converter 11 is detected by a maximum value detection section 2o using an n-1 manually operated AND gate 21.

すなわち、上記ANDゲート21は、A/D変換器1o
がら出力されるデジタル信号の最下位ビットBlがらn
−1ビツト(Bn−1)のデータが入力され、各データ
が全て論理「l」すなわち最大値のときに論理「l」の
検出出力信号全出力する。
That is, the AND gate 21 is connected to the A/D converter 1o.
The least significant bit Bl of the digital signal output from
-1 bit (Bn-1) data is input, and when each data is all logic "1", that is, the maximum value, all detection output signals of logic "1" are output.

上記最大値検出部20から出力される検出出力信号は、
オーバフローデータ形成部3oの第1のシフトレジスタ
31に供給される。上記第1のシフトレジスタ31は、
4段のシフトレジスタで各段の出力を第1のANDゲー
ト32に供給し、さらに最終段の出力を第2のシフトレ
ジスタ33に供給している。上記第2のシフトレジスタ
33は8段のシフトレジスタで、その人力側の4段の各
出力を第2のANDゲート34に供給し、また最終段側
の4段の各出力を第3のANDゲート35に供給してい
る。ここで、上記各シフトレジスタ31.33は、クロ
ック入力端子4oがら供給される転送りロックφCK 
 にょシ常に駆動されているO 上記第1のANDゲート32は、第1のシン・トレジス
タ31の各段の出力が全て論理「1」すなわち上記最大
値検出部20にてデジタル信号の最大値が4回以上連続
して検出されたときに、論理「1」の第1のオーバフロ
ーデータQ。を第4のANDゲート36に供給するとと
もに第1の信号出力端子41から出力する。
The detection output signal output from the maximum value detection section 20 is as follows:
The signal is supplied to the first shift register 31 of the overflow data forming section 3o. The first shift register 31 is
The output of each stage of the four-stage shift register is supplied to the first AND gate 32, and the output of the final stage is further supplied to the second shift register 33. The second shift register 33 is an eight-stage shift register, which supplies the outputs of the four stages on the manual side to the second AND gate 34, and supplies the outputs of the four stages on the final stage to the third AND gate. It is supplied to gate 35. Here, each of the shift registers 31 and 33 has a transfer lock φCK supplied from the clock input terminal 4o.
The first AND gate 32 is constantly driven so that all the outputs of each stage of the first register 31 are logic "1", that is, the maximum value of the digital signal is determined by the maximum value detection section 20. The first overflow data Q of logic "1" when detected four or more times in succession. is supplied to the fourth AND gate 36 and output from the first signal output terminal 41.

また、上記第4のANDゲート36は、上記第2のAN
Dゲート34の出力が供給されておシ、上記第1および
第2のANDゲート32.34の各出力の論理積出力と
して、上記最大値検出部20にてデジタル信号の最大値
が8回以上連続して検出されたときに、第2のオーバフ
ローデータ形成部第5のANDゲート37に供給すると
ともに第2の信号出力端子42から出力する○ さらに、上記第5のANDゲート37は、上記第3のA
NDゲート35の出力が供給されておシ、上記第3およ
び第4のANDゲート35,36の各出力の論理積出力
として、上記最大値検出部20にてデジタル信号の最大
値が12回以上連続して検出されたときに、第3のオー
バフローデータQ2−を第3の信号出力端子43から出
力する。
Further, the fourth AND gate 36 is connected to the second AND gate 36.
The output of the D gate 34 is supplied, and the maximum value of the digital signal is detected eight times or more in the maximum value detection section 20 as a AND output of each output of the first and second AND gates 32 and 34. When continuously detected, the second overflow data forming section supplies the data to the fifth AND gate 37 and outputs it from the second signal output terminal 42.Furthermore, the fifth AND gate 37 3 A
The output of the ND gate 35 is supplied, and the maximum value detection section 20 detects the maximum value of the digital signal 12 times or more as a AND output of each output of the third and fourth AND gates 35 and 36. When continuously detected, third overflow data Q2- is output from the third signal output terminal 43.

すなわち、上記第1および第2のシフトレジスタ31,
33、並びに第1ないし第5のANDゲート32,34
,35,36,37を備えて成るオーバフローデータ形
成部30では、上記A/D変換器10から出力されるデ
ジタル信号の最大値データが連続する期間をオーバフロ
ー期間であると判定して、上記期間の長さに応じたオー
パンローデータQ。yQlyQ2 を出力する。通常、
正弦波信号等の単純な波形の入力アナログ信号の場合に
は、オーバフローの期間長がオーバフローした信号レベ
ルに対応するので、この実施例のようにオーパンロー期
間をデジタル信号から直接検出して上記オーバフロー期
間の長さに応じた形成したオーバフローデータQQ 、
Ql、Q2は、オーバフローの期間を示すとともに、入
力アナログ信号のオーパンローした信号レベルを示す情
報を与えることができる。
That is, the first and second shift registers 31,
33, and first to fifth AND gates 32, 34
, 35, 36, and 37, the overflow data forming unit 30 determines that the period in which the maximum value data of the digital signal outputted from the A/D converter 10 is continuous is an overflow period, and Open low data Q according to the length of. Output yQlyQ2. usually,
In the case of an input analog signal with a simple waveform such as a sine wave signal, the overflow period length corresponds to the overflow signal level, so as in this embodiment, the open low period is directly detected from the digital signal and the overflow period is determined. Overflow data QQ formed according to the length of ,
Ql and Q2 can provide information indicating the overflow period and the open-low signal level of the input analog signal.

次に、第3図に示す実施例は、音声信号等の複雑なスペ
クトルを有するアナログ信号をデジタル化したデジタル
信号のオーバフローを本発明に係るデジタル信号処理回
路にて検出するようにしたものである。
Next, in the embodiment shown in FIG. 3, an overflow of a digital signal obtained by digitizing an analog signal having a complicated spectrum such as an audio signal is detected by the digital signal processing circuit according to the present invention. .

この実施例において、デジタル信号の各ビットのデータ
は、最大値検出部50のANDゲート51に供給される
とともに、オーバフローデータ形成部60の差分検出回
路61に供給される。上記最大値検出部50は、上述の
実施例と同様に、デジタル信号の最大値を検出し、デジ
タル信号のデータが最大値のときに論理「1」の検出出
力信号を出力する。
In this embodiment, the data of each bit of the digital signal is supplied to the AND gate 51 of the maximum value detection section 50 and also to the difference detection circuit 61 of the overflow data formation section 60. The maximum value detection section 50 detects the maximum value of the digital signal, and outputs a detection output signal of logic "1" when the data of the digital signal is the maximum value, as in the above-described embodiment.

上記最大値検出部50から出力される検出出力信号は、
オーバフローデータ形成部60のカウンタ回路62と差
分データ検出回路61とに供給されている。
The detection output signal output from the maximum value detection section 50 is
The signal is supplied to a counter circuit 62 and a differential data detection circuit 61 of an overflow data forming section 60 .

上記カウンタ回路62は、上記最大値検出部50から出
力される検出出力信号が論理「1」になっている期間中
に計数動作を行って、オーバフロー期間の長さを示すカ
ウント出力データpを演算処理部63に供給する。ま之
、上記差分データ検出回路61は、デジタル信号のデー
タについて微係数すなわち現在のデータとlクロック前
のデータとの差分データを遂次に検出しておシ、上記最
大値検出部50から検出出力信号が論理「1」になった
ときの差分データqを保持して上記演算処理部63に供
給する。
The counter circuit 62 performs a counting operation during a period in which the detection output signal output from the maximum value detection section 50 is at logic "1", and calculates count output data p indicating the length of the overflow period. It is supplied to the processing section 63. However, the differential data detection circuit 61 sequentially detects the differential coefficient of the digital signal data, that is, the differential data between the current data and the data one clock ago, and detects the differential coefficient from the maximum value detection section 50. The difference data q when the output signal becomes logic "1" is held and supplied to the arithmetic processing section 63.

上記演算処理部63は、上記カウンタ回路62から供給
されるオーバフロー期間の長さを示すデータpと上記差
分データ検出回路61がら供給されるオーバフロー開始
時のデータの微係数を示す差分データqとに基づいてオ
ーバノロ一部分の極太値(J次のように算出し、オーバ
フローデークD全形成する。
The arithmetic processing section 63 calculates data p indicating the length of the overflow period supplied from the counter circuit 62 and difference data q indicating the differential coefficient of the data at the start of overflow supplied from the differential data detection circuit 61. Based on this, the thickest value of the overflow part (J is calculated as follows, and the entire overflow data D is formed.

すなわち、デジタル信号のデータがオーパンローしない
とすると、上記デジタル信号のデータにて示される元の
アナログ信号の信号レベルyは、極太値をCとして、 3’= −a(x−b )2+c なる時間Xの2次式にてオーバフロ一部分近傍を近似す
ることができる(第4図参照)。そして、デジタル信号
が実際にオーバフローするアナログ信号の最大レベルを
mとすると、y>mのときにデジタル信号がオーバフロ
ーし、オーバ70期間の長さpは であシ、オーバフロ開始時点の微係数qは9225石;
5 であるから、上記極大値Cは、デジタル信号のビット数
にて定まるm1上記力ウンタ回路62にて与えられるデ
ータpおよび差分データ検出回路61にて与えられる差
分データqにて、上記演算処理部63によシ q C−−十m として算出することができる。
That is, assuming that the digital signal data is not open low, the signal level y of the original analog signal indicated by the digital signal data is as follows: 3'=-a(x-b)2+c, where C is the thickest value. The vicinity of a portion of the overflow can be approximated by a quadratic expression of X (see FIG. 4). If the maximum level of the analog signal at which the digital signal actually overflows is m, then the digital signal overflows when y>m, the length of the overflow period p is 70, and the differential coefficient q at the start of overflow is is 9225 stones;
5 Therefore, the maximum value C is determined by the number of bits of the digital signal. m1 The above calculation process is performed using the data p given by the force counter circuit 62 and the difference data q given by the difference data detection circuit 61. 63, it can be calculated as qC--10m.

上述の如き構成の各実施例では、A/D変換される入力
アナログ信号の信号レベルが過大であって、デジタル信
号がオーバフローされていたときに、デジタル化前の入
力アナログ信号を遂次参照することなく、デジタル化後
のデジタル信号から直接オーバフロー状態を検出するこ
とができ、しかも、この検出処理に必要な回路の構成も
極めて簡単なものとなっている。
In each of the embodiments configured as described above, when the signal level of the input analog signal to be A/D converted is excessive and the digital signal is overflowing, the input analog signal before digitization is successively referred to. The overflow state can be directly detected from the digital signal after digitization without any trouble, and the configuration of the circuit required for this detection process is also extremely simple.

〔発明の効果〕〔Effect of the invention〕

上述の実施例の説明から明らかなように、本発明に係る
デジタル信号処理回路では、アナログ信号をデジタル化
したデジタル信号のデータから該データがオーバフロー
したものであることを直接検出して、オーバフロ一部分
の元のアナログ信号を推定したオーバフローデータ全形
成して出力することができ、所期の目的全十分に達成す
ることができる。
As is clear from the description of the embodiments described above, the digital signal processing circuit according to the present invention directly detects that the data of the digital signal obtained by digitizing the analog signal is overflow, and corrects the overflow part. The overflow data estimated from the original analog signal can be fully formed and output, and the intended purpose can be fully achieved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はデジタル信号のオーバフロー検出を行なう信号
処理回路の従来例を示すブロック図であるO 第2図は、本発明に係るデジタル信号処理回路の一実施
例を示すブロック図である。 第3図は、同じく他の実施例を示すブロック図である。 第4図は、この実施例における演算処理部の演算動作原
理を説明するための説明図である020.50・・・最
大値検出部 30.60・・0オ一バフローデータ形成部特許出願人
 ソニー株式会社 代理人 弁理士 小 池   晃
FIG. 1 is a block diagram showing a conventional example of a signal processing circuit that performs overflow detection of a digital signal. FIG. 2 is a block diagram showing an embodiment of a digital signal processing circuit according to the present invention. FIG. 3 is a block diagram showing another embodiment. FIG. 4 is an explanatory diagram for explaining the principle of operation of the arithmetic processing unit in this embodiment. Person Sony Corporation Representative Patent Attorney Akira Koike

Claims (1)

【特許請求の範囲】[Claims] デジタル信号の最大値データを検出する第1の検出手段
と、この第1の検出手段による検出出力が連続する期間
を検出する第2の検出手段と、この第2の検出手段によ
る検出出力に基づいて上記最大値データが連続する期間
に対応したオーバラローデータを形成して出力するデー
タ形成手段と全備えたデジタル信号処理回路。
A first detection means for detecting the maximum value data of the digital signal, a second detection means for detecting a period in which the detection output by the first detection means is continuous, and based on the detection output by the second detection means. A digital signal processing circuit that is completely equipped with data forming means for forming and outputting overlow data corresponding to a period in which the maximum value data is continuous.
JP6258083A 1983-04-09 1983-04-09 Digital signal processing circuit Pending JPS59188728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6258083A JPS59188728A (en) 1983-04-09 1983-04-09 Digital signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6258083A JPS59188728A (en) 1983-04-09 1983-04-09 Digital signal processing circuit

Publications (1)

Publication Number Publication Date
JPS59188728A true JPS59188728A (en) 1984-10-26

Family

ID=13204392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6258083A Pending JPS59188728A (en) 1983-04-09 1983-04-09 Digital signal processing circuit

Country Status (1)

Country Link
JP (1) JPS59188728A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155233A (en) * 1986-12-18 1988-06-28 Nec Corp Digital differential computing element
JPS63234451A (en) * 1987-03-20 1988-09-29 Pioneer Electronic Corp Drop-out detecting circuit
JPH09135134A (en) * 1995-11-09 1997-05-20 Nikon Corp Gain setting method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55145431A (en) * 1979-04-28 1980-11-13 Jeol Ltd A/d converter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55145431A (en) * 1979-04-28 1980-11-13 Jeol Ltd A/d converter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155233A (en) * 1986-12-18 1988-06-28 Nec Corp Digital differential computing element
JPH0535895B2 (en) * 1986-12-18 1993-05-27 Nippon Electric Co
JPS63234451A (en) * 1987-03-20 1988-09-29 Pioneer Electronic Corp Drop-out detecting circuit
JPH09135134A (en) * 1995-11-09 1997-05-20 Nikon Corp Gain setting method

Similar Documents

Publication Publication Date Title
US4467319A (en) Signal conversion circuit
JPS59188728A (en) Digital signal processing circuit
JPH07191825A (en) Limiter device
US5181184A (en) Apparatus for multiplying real-time 2's complement code in a digital signal processing system and a method for the same
JPH0354511B2 (en)
US4924314A (en) Semiconductor device containing video signal processing circuit
JPS6331371A (en) Picture signal encoder
JP2694663B2 (en) Differential correlator
JP2984606B2 (en) 3-input addition / subtraction circuit
JP3033277B2 (en) Frequency distribution calculator
JPH0324619A (en) Binary negative number display converter
JP2909355B2 (en) Image signal separation method
JP3141561B2 (en) Analog / digital conversion circuit
JPH0773187B2 (en) Bit length expansion device
JPH0918875A (en) Data processor
JP2635616B2 (en) Digital sample rate converter
JPS5821172A (en) Measuring method for strain
JPH03278616A (en) A/d converter
JPH0745786Y2 (en) Full level detection circuit
JP3006308B2 (en) Digital filter circuit
JPH01229521A (en) Noise suppressing circuit
JPH03102265A (en) Maximum value detecting circuit
JP3233517B2 (en) Data transfer device
JPS62268213A (en) Analog-digital converter
JPH05113454A (en) Measuring apparatus for average values of alternating voltage and current