JPH04254766A - Envelope detection circuit - Google Patents

Envelope detection circuit

Info

Publication number
JPH04254766A
JPH04254766A JP2771991A JP2771991A JPH04254766A JP H04254766 A JPH04254766 A JP H04254766A JP 2771991 A JP2771991 A JP 2771991A JP 2771991 A JP2771991 A JP 2771991A JP H04254766 A JPH04254766 A JP H04254766A
Authority
JP
Japan
Prior art keywords
signal
input
latch
converter
bits
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
JP2771991A
Other languages
Japanese (ja)
Inventor
Masashi Kamio
神尾 昌司
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2771991A priority Critical patent/JPH04254766A/en
Publication of JPH04254766A publication Critical patent/JPH04254766A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need of changing circuit parts in accordance with a change in an AC component contained in input signals by successively converting the input signals into digital signals and, only when the input signals largely change, converting the digital signals into analog signals. CONSTITUTION:When signals are inputted from a terminal 1, an A/D converter 10 performs A/D conversion in accordance with a clock signal 14 and outputs the converted digital signals from terminals D0-D5. The higher-rank four bits of the digital signals are inputted to the terminals A0-A3 of a comparator 12 and, at the same time, to the terminals D0-D3 of the first latch 11. Upon receiving the next clock, the latch 11 outputs data to the terminals B0-B3 of the comparator 12. Therefore, the comparator 12 compares the data of the terminals A0-A3 with the preceding data of the terminals B0-B3. When both data are different from each other, the higher-rank four bits of the digital signals are different, namely, the input signals largely change. In such case, the data of the second latch 16 are converted into analog signals by means of a D/A converter 17.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、例えばFM波、AM
波、ディジタル変調波あるいは位相変調波などの電気信
号のエンベロープ検出回路に関するものである。
[Industrial Field of Application] This invention is applicable to, for example, FM waves, AM waves, etc.
The present invention relates to an envelope detection circuit for electrical signals such as waves, digitally modulated waves, or phase modulated waves.

【0002】0002

【従来の技術】図4は例えば特開平2−156164号
公報に示された従来のエンベロープ検出回路を示す構成
図である。図において、1はエンベロープ検出されるべ
き信号が入力される信号入力端子、2は信号入力端子1
に入力される信号を増幅する小信号増幅器、3は小信号
増幅器2の出力信号を全波整流する全波整流回路、4は
全波整流された信号を平滑する平滑コンデンサ、5は平
滑された信号を電圧−電流変換する第1のV−I変換器
、6は平滑コンデンサ4によって平滑された信号の交流
成分のみを通過させる結合コンデンサ、7は結合コンデ
ンサ6を通過した交流成分を電圧−電流変換する第2の
V−I変換器である。第2のV−I変換器7は、第1の
V−I変換器5に対して符号が反対の電流に変換するよ
うになっている。8は第1のV−I変換器5及び第2の
V−I変換器7の出力電流の和を電流−電圧変換するI
−V変換器である。I−V変換器8の出力は、エンベロ
ープ検出信号になっており、エンベロープ検出信号出力
端子9から出力される。
2. Description of the Related Art FIG. 4 is a block diagram showing a conventional envelope detection circuit disclosed in, for example, Japanese Unexamined Patent Publication No. 2-156164. In the figure, 1 is a signal input terminal into which a signal to be enveloped is to be detected, and 2 is a signal input terminal 1.
3 is a full-wave rectifier circuit that full-wave rectifies the output signal of the small-signal amplifier 2; 4 is a smoothing capacitor that smoothes the full-wave rectified signal; 5 is a smoothed signal. A first V-I converter converts a signal from voltage to current; 6 is a coupling capacitor that passes only the alternating current component of the signal smoothed by the smoothing capacitor 4; and 7 converts the alternating current component that has passed through the coupling capacitor 6 from voltage to current. A second V-I converter. The second V-I converter 7 is configured to convert the current into a current having a sign opposite to that of the first V-I converter 5. 8 is an I that performs current-voltage conversion of the sum of the output currents of the first VI converter 5 and the second VI converter 7.
-V converter. The output of the IV converter 8 is an envelope detection signal, which is output from an envelope detection signal output terminal 9.

【0003】次に、図4に示した従来のエンベロープ検
出回路の動作について、図5の波形図を参照しながら説
明する。図5において、(a)は入力信号波形、(b)
は全波整流波形、(c)は第1のV−I変換電流波形、
(d)は第2のV−I変換電流波形、(e)は電流和信
号をそれぞれ示す。先ず、信号入力端子1に、図示しな
い外部機器から図5(a)に示したようなエンベロープ
検出されるべき信号が入力される。この入力信号は、小
信号増幅器2で増幅され、さらに全波整流回路3で全波
整流されて、図5(b)に示した信号になる。この全波
整流信号は平滑コンデンサ4によって交流成分が平滑さ
れ、さらに第1のV−I変換器5によって電流に変換さ
れて図5(c)に示した信号となる。
Next, the operation of the conventional envelope detection circuit shown in FIG. 4 will be explained with reference to the waveform diagram shown in FIG. In FIG. 5, (a) is the input signal waveform, (b)
is a full-wave rectified waveform, (c) is the first VI conversion current waveform,
(d) shows the second VI converted current waveform, and (e) shows the current sum signal. First, a signal whose envelope is to be detected as shown in FIG. 5A is inputted to the signal input terminal 1 from an external device (not shown). This input signal is amplified by the small signal amplifier 2, and then full-wave rectified by the full-wave rectifier circuit 3, resulting in the signal shown in FIG. 5(b). The alternating current component of this full-wave rectified signal is smoothed by the smoothing capacitor 4, and further converted into a current by the first VI converter 5, resulting in the signal shown in FIG. 5(c).

【0004】一方、平滑コンデンサ4によって平滑され
た信号は、結合コンデンサ6にも入力され、交流成分の
みが取り出される。この交流成分は第2のV−I変換器
7に入力され、電流に変換されて図5(d)に示した信
号になる。このとき、前述のように、第1のV−I変換
器5及び第2のV−I変換器7は符号が互いに逆の電流
に変換するため、図5(c)及び(d)に示した信号の
交流成分は、互いに逆相になっている。続いて、I−V
変換器8に、図5(c)に示した第1のV−I変換器5
の出力と、図5(d)に示した第2のV−I変換器7の
出力との和を示す電流信号が入力される。この和信号は
、交流成分が互いに打ち消し合うため、図5(e)に示
した信号になる。さらに、この和信号はI−V変換器8
によって電圧信号に変換され、エンベロープ検出信号出
力端子9からエンベロープ検出信号として出力される。 なお、平滑コンデンサ4及び結合コンデンサ6の容量は
、交流成分に応じて選択されており、また各V−I変換
器の変換率や入出力レベル変化率は一致するように設定
されている。
On the other hand, the signal smoothed by the smoothing capacitor 4 is also input to the coupling capacitor 6, and only the alternating current component is extracted. This AC component is input to the second VI converter 7, where it is converted into a current and becomes the signal shown in FIG. 5(d). At this time, as described above, the first V-I converter 5 and the second V-I converter 7 convert the currents to have opposite signs, so as shown in FIGS. 5(c) and 5(d). The alternating current components of the signals are out of phase with each other. Subsequently, I-V
The converter 8 includes the first VI converter 5 shown in FIG. 5(c).
A current signal indicating the sum of the output of the V-I converter 7 and the output of the second VI converter 7 shown in FIG. 5(d) is input. This sum signal becomes the signal shown in FIG. 5(e) because the alternating current components cancel each other out. Furthermore, this sum signal is sent to the I-V converter 8
The signal is converted into a voltage signal by the envelope detection signal output terminal 9 and output as an envelope detection signal. Note that the capacitances of the smoothing capacitor 4 and the coupling capacitor 6 are selected depending on the AC component, and the conversion rate and input/output level change rate of each VI converter are set to match.

【0005】[0005]

【発明が解決しようとする課題】従来のエンベロープ検
出回路は以上のように構成されているので、エンベロー
プ検出されるべき入力信号に含まれる交流成分に応じて
、平滑コンデンサ4及び結合コンデンサ6の容量を選択
する必要があり、また第1のV−I変換器5及び第2の
V−I変換器7の変換率や入出力レベル変化率を一致さ
せる必要もあるという問題点があった。
[Problems to be Solved by the Invention] Since the conventional envelope detection circuit is configured as described above, the capacitance of the smoothing capacitor 4 and the coupling capacitor 6 is adjusted depending on the AC component contained in the input signal to be envelope-detected. There was a problem in that it was necessary to select the desired value, and it was also necessary to match the conversion rates and input/output level change rates of the first VI converter 5 and the second VI converter 7.

【0006】この発明は上記のような問題点を解決する
ためになされたもので、エンベロープ検出されるべき入
力信号に含まれる交流成分が変化しても、エンベロープ
検出回路内の部品を変更せずに動作条件を変更するだけ
で済むエンベロープ検出回路を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and even if the AC component contained in the input signal to be envelope-detected changes, the components within the envelope detection circuit are not changed. The purpose of this invention is to obtain an envelope detection circuit that only requires changing the operating conditions.

【0007】[0007]

【課題を解決するための手段】この発明に係るエンベロ
ープ検出回路は、エンベロープ検出されるべき入力信号
を逐次ディジタル信号に変換するA/D変換器と、ディ
ジタル信号の上位nビットの記憶及び出力を行う第1の
ラッチと、ディジタル信号の上位nビットと第1のラッ
チに記憶されている前回のnビットのディジタル値とを
比較するとともに比較結果信号を出力する比較器と、デ
ィジタル信号の全ビットの記憶及び出力を行うとともに
比較結果信号に応じて比較器により比較されるデータが
異なっているときだけ記憶されたディジタル値を変化さ
せる第2のラッチと、第2のラッチから出力されるディ
ジタル値をアナログ信号に変換するD/A変換器とを備
えたものである。
[Means for Solving the Problems] An envelope detection circuit according to the present invention includes an A/D converter that sequentially converts an input signal to be envelope-detected into a digital signal, and a memory and output of the upper n bits of the digital signal. a comparator that compares the upper n bits of the digital signal with the previous n-bit digital value stored in the first latch and outputs a comparison result signal; and a comparator that outputs a comparison result signal, and all bits of the digital signal. a second latch that stores and outputs the stored digital value and changes the stored digital value only when the data compared by the comparator is different according to the comparison result signal; and the digital value output from the second latch. It is equipped with a D/A converter that converts the signal into an analog signal.

【0008】[0008]

【作用】この発明においては、入力信号を逐次ディジタ
ル信号に変換し、上位nビットの今回及び前回のディジ
タル値を比較し、その差が入力信号に含まれる交流成分
以上に変化しているときだけエンベロープ検出信号を変
化させることにより、入力信号に含まれている直流成分
をそのままに保ちながら交流成分を消去する。
[Operation] In this invention, the input signal is sequentially converted into a digital signal, the current and previous digital values of the upper n bits are compared, and only when the difference has changed by more than the alternating current component included in the input signal. By changing the envelope detection signal, the AC component contained in the input signal is erased while keeping the DC component intact.

【0009】[0009]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例を示す回路ブロック図
であり、1、9は前述と同様のものである。10は信号
入力端子1からの入力信号をディジタル値に変換する、
例えば6ビットのA/D変換器であり、入力信号の入力
端子INと、クロック信号の入力端子Sと、ディジタル
信号を出力する出力端子D0〜D5とを有している。1
1はクロック信号すなわちタイミング信号に応答して、
A/D変換器10から出力されるディジタル信号の上位
4ビットを記憶するとともに、これを出力端子Q0〜Q
3から出力する第1のラッチであり、出力端子Q0〜Q
3の他に、入力端子D0〜D3、タイミング信号の入力
端子T及びリセット信号の入力端子Rを有している。1
2はA/D変換器10から出力されるディジタル信号の
上位4ビットと第1のラッチ11から出力される前回の
4ビットのディジタル値とを比較するとともに、比較結
果信号S1及びS2を比較結果信号端子(>)及び(<
)から出力する比較器であり、比較結果信号端子(>)
及び(<)の他に、入力端子A0〜A3及びB0〜B3
を有している。 13は比較結果信号S1及びS2の論理和をとるオアゲ
ートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit block diagram showing an embodiment of the present invention, and 1 and 9 are the same as those described above. 10 converts the input signal from the signal input terminal 1 into a digital value;
For example, it is a 6-bit A/D converter, and has an input terminal IN for input signals, an input terminal S for clock signals, and output terminals D0 to D5 for outputting digital signals. 1
1 in response to a clock signal or timing signal,
The upper 4 bits of the digital signal output from the A/D converter 10 are stored and sent to the output terminals Q0 to Q.
It is the first latch that outputs from Q3, and the output terminals Q0 to Q
3, it has input terminals D0 to D3, an input terminal T for a timing signal, and an input terminal R for a reset signal. 1
2 compares the upper 4 bits of the digital signal output from the A/D converter 10 with the previous 4-bit digital value output from the first latch 11, and compares the comparison result signals S1 and S2. Signal terminal (>) and (<
), and the comparison result signal terminal (>)
In addition to and (<), input terminals A0 to A3 and B0 to B3
have. Reference numeral 13 denotes an OR gate that takes the logical sum of the comparison result signals S1 and S2.

【0010】14はA/D変換器10の変換タイミング
を取るとともに第1のラッチ11のラッチ及びデータ出
力タイミングを取るため等に使用されるクロック信号が
入力されるクロック信号入力端子、15はクロック信号
とオアゲート13の出力信号との論理積を取るアンドゲ
ートである。16はA/D変換器10から出力されるデ
ィジタル信号の全6ビットを記憶するとともに、このデ
ィジタル値を出力端子Q0〜Q5から出力する第2のラ
ッチであり、出力端子Q0〜Q5の他に、入力端子D0
〜D5、タイミング信号の入力端子T及びリセット信号
の入力端子Rを有している。第2のラッチ16の入力端
子Tにはアンドゲート15の出力信号が入力され、この
タイミングで第2のラッチ16は記憶されたディジタル
値を変化させるようになっている。17は第2のラッチ
16から出力されるディジタル値をアナログ信号に変換
するD/A変換器であり、ディジタル値の入力端子D0
〜D5と、アナログ信号の出力端子OUTとを有してい
る。18は第1のラッチ11及び第2のラッチ16の記
憶データの初期化を行うリセット信号が入力されるリセ
ット信号入力端子である。なお図1では、回路動作に必
要な動作用電源や電源接続回路は省略してある。
Reference numeral 14 denotes a clock signal input terminal to which a clock signal is inputted, which is used for determining the conversion timing of the A/D converter 10 and the latch and data output timing of the first latch 11, and 15 is a clock signal input terminal. This is an AND gate that performs the logical product of the signal and the output signal of the OR gate 13. 16 is a second latch that stores all 6 bits of the digital signal output from the A/D converter 10 and outputs this digital value from output terminals Q0 to Q5; , input terminal D0
~D5, has an input terminal T for a timing signal and an input terminal R for a reset signal. The output signal of the AND gate 15 is input to the input terminal T of the second latch 16, and the second latch 16 changes the stored digital value at this timing. 17 is a D/A converter that converts the digital value output from the second latch 16 into an analog signal, and the digital value input terminal D0
~D5, and an analog signal output terminal OUT. 18 is a reset signal input terminal to which a reset signal for initializing the data stored in the first latch 11 and the second latch 16 is input. Note that in FIG. 1, an operating power supply and a power supply connection circuit necessary for circuit operation are omitted.

【0011】次に、図1に示したこの発明の一実施例の
動作について、図2の波形図及び図3のタイミングチャ
ートを参照しながら説明する。先ず、図示しない外部機
器から生成されたリセット信号は、リセット信号入力端
子18を介して、第1のラッチ11及び第2のラッチ1
6の各入力端子Rに入力され、これにより、第1のラッ
チ11及び第2のラッチ16はリセットされ、記憶デー
タは全て消去される。また、図示しない外部機器から生
成されたクロック信号は、クロック信号入力端子14を
介して、A/D変換器10の入力端子S、第1のラッチ
11の入力端子T及びアンドゲート15の一方の入力端
子にそれぞれ入力される。このクロック信号は、エンベ
ロープ検出されるべき入力信号に応じて、適当な周波数
のものが選択されている。
Next, the operation of the embodiment of the present invention shown in FIG. 1 will be explained with reference to the waveform diagram in FIG. 2 and the timing chart in FIG. 3. First, a reset signal generated from an external device (not shown) is transmitted to the first latch 11 and the second latch 1 via the reset signal input terminal 18.
6, the first latch 11 and the second latch 16 are thereby reset, and all stored data is erased. In addition, a clock signal generated from an external device (not shown) is sent to the input terminal S of the A/D converter 10, the input terminal T of the first latch 11, and one of the AND gates 15 via the clock signal input terminal 14. Each is input to the input terminal. This clock signal has an appropriate frequency selected depending on the input signal to be envelope-detected.

【0012】いま、図2(a)のような入力信号が、信
号入力端子1を介してA/D変換器10の入力端子IN
に入力されるものとする。A/D変換器10は、図3の
ようにクロック信号がLレベルからHレベルに変化する
とき(時刻t1、時刻t2、...)に、入力信号のA
/D変換を行い、変換後のディジタル信号を出力端子D
0〜D5から出力する。時刻t1にA/D変換されたデ
ィジタル信号の上位4ビット(データ1とする)は、比
較器12の入力端子A0〜A3に入力されるとともに、
第1のラッチ11の入力端子D0〜D3にも入力される
Now, an input signal as shown in FIG. 2(a) is input to the input terminal IN of the A/D converter 10 via the signal input terminal 1.
shall be entered. The A/D converter 10 converts the input signal A when the clock signal changes from L level to H level (time t1, time t2,...) as shown in FIG.
/D conversion and output the converted digital signal to terminal D.
Output from 0 to D5. The upper 4 bits (data 1) of the digital signal A/D converted at time t1 are input to input terminals A0 to A3 of the comparator 12, and
It is also input to the input terminals D0 to D3 of the first latch 11.

【0013】時刻t1以降、一旦HレベルからLレベル
に変化したクロック信号がLレベルからHレベルに変化
する時刻2に、再びA/D変換器10は、入力信号をデ
ィジタル信号に変換し、このディジタル信号の上位4ビ
ット(データ2とする)は比較器12の入力端子A0〜
A3及び第1のラッチ11の入力端子D0〜D3に入力
される。ここで、A/D変換には少々時間がかかるため
、第1のラッチ11の入力端子D0〜D3に入力される
データは、時刻t2より少々遅れてデータ1からデータ
2に変化する。このため、時刻t2に第1のラッチ11
の入力端子D0〜D3に入力されているデータはデータ
1であるから、時刻t2におけるクロック信号のHレベ
ルへの変化を受けて、第1のラッチ11は、データ1を
出力端子Q0〜Q3から比較器12の入力端子B0〜B
3に出力する。従って、比較器12は、入力端子A0〜
A3に入力されるデータ2と入力端子B0〜B3に入力
されるデータ1との比較を行うことになる。
After time t1, at time 2 when the clock signal, which once changed from H level to L level, changes from L level to H level, A/D converter 10 converts the input signal into a digital signal again, and converts the input signal into a digital signal. The upper 4 bits of the digital signal (data 2) are input to the input terminals A0~ of the comparator 12.
A3 and input terminals D0 to D3 of the first latch 11. Here, since A/D conversion takes some time, the data input to the input terminals D0 to D3 of the first latch 11 changes from data 1 to data 2 with a slight delay from time t2. Therefore, at time t2, the first latch 11
Since the data being input to the input terminals D0 to D3 is data 1, the first latch 11 inputs data 1 from the output terminals Q0 to Q3 in response to the change of the clock signal to the H level at time t2. Input terminals B0 to B of comparator 12
Output to 3. Therefore, the comparator 12 has input terminals A0 to
Data 2 input to A3 is compared with data 1 input to input terminals B0 to B3.

【0014】これらのデータが異なっているときは、時
刻t1及びt2に、A/D変換器10によってA/D変
換されたディジタル信号の上位4ビットが異なっている
とき(すなわち、入力信号が比較的大きく変化している
とき)である。このとき、比較器12は比較結果信号端
子(>)または(<)からHレベルの比較結果信号S1
、S2を出力し、これにより、オアゲート13は、Hレ
ベルの信号を出力する。また、クロック信号は既にHレ
ベルになっているので、アンドゲート15の出力はHレ
ベルに変化する。従って、アンドゲート15の出力信号
が入力端子Tから入力する第2のラッチ16は、入力端
子D0〜D5に入力されているデータ、すなわち時刻t
2にA/D変換された(すなわち、上位4ビットがデー
タ2と同一である)ディジタル信号を記憶し、出力端子
Q0〜Q5から出力する。このディジタル信号はD/A
変換器17によってアナログ信号に変換され、出力端子
OUTからエンベロープ検出信号として出力される。
When these data are different, the upper 4 bits of the digital signals A/D-converted by the A/D converter 10 are different at times t1 and t2 (that is, when the input signals are compared (when the target is changing significantly). At this time, the comparator 12 outputs an H level comparison result signal S1 from the comparison result signal terminal (>) or (<).
, S2, and thereby the OR gate 13 outputs an H level signal. Furthermore, since the clock signal is already at H level, the output of the AND gate 15 changes to H level. Therefore, the second latch 16, to which the output signal of the AND gate 15 is input from the input terminal T, receives the data input to the input terminals D0 to D5, that is, at time t.
The digital signal A/D converted into data 2 (that is, the upper 4 bits are the same as data 2) is stored and output from output terminals Q0 to Q5. This digital signal is D/A
The signal is converted into an analog signal by the converter 17, and output as an envelope detection signal from the output terminal OUT.

【0015】一方、比較器12によって比較されるデー
タ1及びデータ2が同じであるときは、時刻t1及びt
2に、A/D変換器10によってA/D変換されたディ
ジタル信号の上位4ビットが同じであるとき(すなわち
、入力信号が比較的小さな変化しかしていないとき)で
ある。このときには、比較結果信号端子(>)及び(<
)からHレベルの比較結果信号S1、S2は出力されず
、オアゲート13の出力信号はLレベルになる。このた
め、アンドゲート15の出力信号はLレベルとなり、第
2のラッチ16の記憶データは変化せず、D/A変換器
17から出力されるエンベロープ検出信号も変化しない
On the other hand, when data 1 and data 2 compared by the comparator 12 are the same, the times t1 and t
2. When the upper four bits of the digital signal A/D converted by the A/D converter 10 are the same (that is, when the input signal has only a relatively small change). At this time, the comparison result signal terminals (>) and (<
), the H level comparison result signals S1 and S2 are not output, and the output signal of the OR gate 13 becomes L level. Therefore, the output signal of the AND gate 15 becomes L level, the data stored in the second latch 16 does not change, and the envelope detection signal output from the D/A converter 17 also does not change.

【0016】以後、同様の過程が繰り返される。このと
き、A/D変換器10の下位2ビットを入力信号の交流
成分の変化量に相当するように設定すれば、交流成分は
無視され、エンベロープ検出信号出力端子9からは図2
(b)に示したエンベロープ検出信号が出力されること
になる。
[0016] Thereafter, the same process is repeated. At this time, if the lower two bits of the A/D converter 10 are set to correspond to the amount of change in the alternating current component of the input signal, the alternating current component is ignored and the envelope detection signal output terminal 9 outputs the signal as shown in FIG.
The envelope detection signal shown in (b) will be output.

【0017】尚、上記実施例ではA/D変換器10を6
ビットとし、このうち上位4ビットを比較器12によっ
て比較するようにしたが、エンベロープ検出信号の精度
及び分解能や入力信号の交流成分の大きさに応じて、A
/D変換器10のビット数や比較器12によって比較さ
れるビット数を変えてもよい。また、エンベロープ検出
信号を、D/A変換器17によって変換されるアナログ
信号としたが、D/A変換される前のディジタル信号の
ままでコンピュータ等に入力し、このコンピュータによ
って制御可能な別のD/A変換器に出力したり、波形処
理をした後にグラフ表示をしたりしてもよい。
In the above embodiment, the A/D converter 10 is
The upper 4 bits of these bits are compared by the comparator 12, but depending on the accuracy and resolution of the envelope detection signal and the magnitude of the AC component of the input signal,
The number of bits of the /D converter 10 and the number of bits compared by the comparator 12 may be changed. In addition, although the envelope detection signal is an analog signal converted by the D/A converter 17, it is input to a computer etc. as a digital signal before being D/A converted, and another signal that can be controlled by this computer is input. The data may be output to a D/A converter, or may be displayed in a graph after waveform processing.

【0018】[0018]

【発明の効果】以上のようにこの発明によれば、入力信
号を逐次ディジタル信号に変換するA/D変換器と、デ
ィジタル信号の上位nビットの記憶及び出力を行う第1
のラッチと、ディジタル信号の上位nビットと第1のラ
ッチに記憶されている前回のnビットのディジタル値と
を比較するとともに比較結果信号を出力する比較器と、
ディジタル信号の全ビットの記憶及び出力を行うととも
に比較結果信号に応じて記憶されたディジタル値を変化
させる第2のラッチと、第2のラッチから出力されるデ
ィジタル値をアナログ信号に変換するD/A変換器とを
備え、入力信号を逐次ディジタル信号に変換し、上位n
ビットの今回及び前回のディジタル値を比較し、その差
が入力信号に含まれる交流成分以上に変化しているとき
だけエンベロープ検出信号を変化させることにより、入
力信号に含まれている直流成分をそのままに保ちながら
交流成分を消去するようにしたので、入力信号に含まれ
る交流成分が変化しても、エンベロープ検出回路内の部
品を変更せずに、クロック信号の周波数や比較するビッ
ト数を変更するだけで済むエンベロープ検出回路が得ら
れる効果がある。
As described above, according to the present invention, there is provided an A/D converter that sequentially converts an input signal into a digital signal, and a first A/D converter that stores and outputs the upper n bits of the digital signal.
a comparator that compares the upper n bits of the digital signal with the previous n-bit digital value stored in the first latch and outputs a comparison result signal;
a second latch that stores and outputs all bits of the digital signal and changes the stored digital value according to the comparison result signal; and a D/R that converts the digital value output from the second latch into an analog signal. A converter, which sequentially converts the input signal into a digital signal, and converts the input signal into a digital signal.
The current and previous digital values of the bit are compared, and the envelope detection signal is changed only when the difference between them is greater than the AC component included in the input signal, allowing the DC component included in the input signal to remain unchanged. Since the AC component is erased while maintaining the input signal, even if the AC component included in the input signal changes, the frequency of the clock signal or the number of bits to be compared can be changed without changing the components in the envelope detection circuit. This has the effect of providing an envelope detection circuit that requires only one.

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

【図1】この発明の一実施例を示す回路ブロック図であ
る。
FIG. 1 is a circuit block diagram showing an embodiment of the present invention.

【図2】この発明の一実施例の動作を説明するための波
形図である。
FIG. 2 is a waveform diagram for explaining the operation of an embodiment of the present invention.

【図3】この発明の一実施例の動作を説明するためのタ
イミングチャートである。
FIG. 3 is a timing chart for explaining the operation of an embodiment of the present invention.

【図4】従来のエンベロープ検出回路を示す構成図であ
る。
FIG. 4 is a configuration diagram showing a conventional envelope detection circuit.

【図5】従来のエンベロープ検出回路における各信号を
示す波形図である。
FIG. 5 is a waveform diagram showing each signal in a conventional envelope detection circuit.

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

10    A/D変換器 11    第1のラッチ 12    比較器 16    第2のラッチ 17    D/A変換器 S1、S2    比較結果信号 10 A/D converter 11 First latch 12 Comparator 16 Second latch 17 D/A converter S1, S2 Comparison result signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  エンベロープ検出されるべき入力信号
を逐次ディジタル信号に変換するA/D変換器と、前記
ディジタル信号の上位nビットの記憶及び出力を行う第
1のラッチと、前記ディジタル信号の上位nビットと前
記第1のラッチに記憶されている前回のnビットのディ
ジタル値とを比較するとともに比較結果信号を出力する
比較器と、前記ディジタル信号の全ビットの記憶及び出
力を行うとともに前記比較結果信号に応じて前記比較器
により比較されるデータが異なっているときだけ記憶さ
れたディジタル値を変化させる第2のラッチと、前記第
2のラッチから出力されるディジタル値をアナログ信号
に変換するD/A変換器とを備えたエンベロープ検出回
路。
1. An A/D converter that sequentially converts an input signal to be envelope-detected into a digital signal, a first latch that stores and outputs the upper n bits of the digital signal, and a first latch that stores and outputs the upper n bits of the digital signal. a comparator that compares n bits with the previous n-bit digital value stored in the first latch and outputs a comparison result signal; and a comparator that stores and outputs all bits of the digital signal and compares a second latch that changes the stored digital value only when the data compared by the comparator is different according to the result signal; and a second latch that converts the digital value output from the second latch into an analog signal. An envelope detection circuit equipped with a D/A converter.
JP2771991A 1991-01-30 1991-01-30 Envelope detection circuit Pending JPH04254766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2771991A JPH04254766A (en) 1991-01-30 1991-01-30 Envelope detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2771991A JPH04254766A (en) 1991-01-30 1991-01-30 Envelope detection circuit

Publications (1)

Publication Number Publication Date
JPH04254766A true JPH04254766A (en) 1992-09-10

Family

ID=12228820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2771991A Pending JPH04254766A (en) 1991-01-30 1991-01-30 Envelope detection circuit

Country Status (1)

Country Link
JP (1) JPH04254766A (en)

Similar Documents

Publication Publication Date Title
JP2924373B2 (en) A / D conversion circuit
JPS6335149B2 (en)
JPS60193082A (en) Analog signal processor
JPH04254766A (en) Envelope detection circuit
JP3143117B2 (en) Signal processing device
JP3142033B2 (en) D / A conversion circuit
JP3171026B2 (en) Frequency spectrum analyzer
EP0222021A1 (en) D/a converter
JPH0514150A (en) Variable delay device
JP3171466B2 (en) Vector voltage ratio measuring method and vector voltage ratio measuring device
JP3141561B2 (en) Analog / digital conversion circuit
JP3099542B2 (en) Digital input amplitude calculation method for AC input amplitude
JPH07131353A (en) Successive approximation a/d converter
JPS6342887B2 (en)
JPH0669802A (en) Pdm converting device
JPH09319868A (en) A/d conversion reference voltage setting circuit
JP3268867B2 (en) Digital servo device
JPS58111431A (en) Analog-to-digital conversion circuit
JPH01305624A (en) A/d converting device
JPH01167677A (en) Electric power detector
JPS5835671A (en) Analog signal processing device
JPS6281815A (en) Analog-digital conversion circuit
JPS58168313A (en) Automatic gain controlling circuit
JPH0265527A (en) Adaptive delta modulation coder
JPH01241224A (en) Digital/analog converter