[go: up one dir, main page]

JP3870005B2 - Expansion circuit - Google Patents

Expansion circuit Download PDF

Info

Publication number
JP3870005B2
JP3870005B2 JP2000149498A JP2000149498A JP3870005B2 JP 3870005 B2 JP3870005 B2 JP 3870005B2 JP 2000149498 A JP2000149498 A JP 2000149498A JP 2000149498 A JP2000149498 A JP 2000149498A JP 3870005 B2 JP3870005 B2 JP 3870005B2
Authority
JP
Japan
Prior art keywords
level
circuit
input signal
absolute value
expansion
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 - Lifetime
Application number
JP2000149498A
Other languages
Japanese (ja)
Other versions
JP2001332996A (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.)
Kenwood KK
Original Assignee
Kenwood KK
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 Kenwood KK filed Critical Kenwood KK
Priority to JP2000149498A priority Critical patent/JP3870005B2/en
Publication of JP2001332996A publication Critical patent/JP2001332996A/en
Application granted granted Critical
Publication of JP3870005B2 publication Critical patent/JP3870005B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
  • Analogue/Digital Conversion (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は無線通信機に設けるシラブルコンパンダ等に用いることができる伸張回路に関する。
【0002】
【従来の技術】
従来の伸張回路は、アナログ信号処理によって行われている。具体的には、図5に示すように、音声信号などの入力信号Vinは整流器12に供給して、整流器12において入力信号Vinのレベルに応じた直流信号を生成し、該直流信号のレベルに比例して増幅器11の利得を可変して、増幅器11によって入力信号Vinを増幅し、緩衝器14を介して増幅器11の増幅出力Voutを伸張出力として送出している。
【0003】
ここで、入力信号のレベルが変化する速度に対する整流器12の応答速度は、整流器12と協働するコンデンサ13の静電容量と整流器12の入力インピーダンスによって決定される。
【0004】
例えば伸張比2の伸張処理の時には、整流器12の出力に基づいて入力信号Vinと出力信号Voutの関係を、Vout=10×(Vin)となるように増幅器11の利得を制御する。この結果、デシベル表現では、Vout=2×Vin(dB)となり伸張比2が得られる。
【0005】
【発明が解決しようとする課題】
しかしながら、上記したような従来の伸張回路により入力信号を伸張するときは、増幅器、整流器、緩衝器などの構成部品の電気的特性のバラツキや、周囲温度の変化によって特性が変化するという問題点があった。さらに、コンデンサの静電容量の変化によって整流器から出力される信号の応答速度が変化するという問題点もある。
【0006】
本発明は、構成部品の電気特性のバラツキ、周囲温度変化による特性変化のない伸張回路を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明にかかる伸張回路は、入力信号を伸張する伸張回路であって、入力信号をA/D変換するA/D変換手段と、A/D変換出力の絶対値を求める絶対値計算手段と、絶対値計算手段によって求めた入力信号の少なくとも半周期分にわたる絶対値中の最大値を検出するレベル検出手段と、レベル検出手段によって検出した最大値と1サンプル前の検出レベルの値とを比較した結果の変化量、変化の方向および予め定めたアタック時間およびリリース時間に基づく変化分を前記最大値に加えて1サンプル前の検出レベルとするアタック時間、リリース時間処理手段を備えて、アタック時間処理、リリース時間処理された検出レベルと、前記A/D変換出力の値とを乗算して伸張演算をすることを特徴とする。
【0008】
本発明にかかる伸張回路によれば、伸張のための入力信号の最大値は入力信号の絶対値を求め、入力信号の少なくとも半周期にわたって求めた絶対値の最大値で求められるために、最大値を求めるためデジタル変換された入力信号データの保存期間も半周期の期間で済み、この最大値を元に伸張演算が行われることになる。しかるに最大値を求めるためにデジタル変換された入力信号データの絶対値を入力信号の半周期分記憶すれば足り、記憶のためのメモリの記憶容量も少なくて済む。
【0010】
さらに、本発明にかかる伸張回路によれば、応答速度がアタック時間、リリース時間に基づいて、伸張作用のための最大値の急激な変化が抑制されるため、伸張作用の実行において入力信号の瞬間的な変化に処理が追従するようなことはなくなって、伸張回路をアナログ回路で構成した場合と同様となる一方、アナログ回路による場合の電気回路部品の電気的特性の変化によって生じた追従特性の変化はなくなる。
【0011】
【発明の実施の形態】
以下、本発明にかかる伸張回路を実施の一形態によって説明する。
【0012】
図1は本発明の実施の一形態にかかる伸張回路の構成を示すブロック図である。
【0013】
図1に示す本発明の実施の一形態にかかる伸張回路10は、伸張比2の場合を例示している。
【0014】
伸張回路10は、入力信号をA/D変換器1に供給してデジタル信号に変換し、A/D変換器1から出力されるデジタル信号はデジタルシグナルプロセッサ等からなるエキスパンダ回路2に供給して、エキスパンダ回路2において伸張作用を行わせ、エキスパンダ回路2において伸張されたデジタル信号はD/A変換器3に供給してアナログ信号に変換のうえ出力する。
【0015】
エキスパンダ回路2は、予め定めた時間的範囲の入力信号の絶対値を求める絶対値計算回路21と求められた絶対値の最大レベルを検出するレベル検出回路22とからなる絶対値レベル検出回路20と、絶対値レベル検出回路20によって検出された絶対値レベルに対してアタック時間、またはリリース時間に基づく処理を行うアタック時間、リリース時間処理回路23と、アタック時間、リリース時間処理回路23によって処理された信号レベルとA/D変換された入力信号とを乗算して伸張処理を行う伸張演算処理回路24とを機能的に備え、伸張演算処理出力をD/A変換器3に送出する。
【0016】
上記のように構成された伸張回路10の作用を図2に示すフローチャートに基づいて、入力信号Vinを音声信号とし、かつVin=A・sinωtとして説明する。
【0017】
伸張処理前における入力信号と出力信号との関係は図4(a)に示す如くであります。
【0018】
入力信号はA/D変換器1においてデジタル信号に変換され(ステップS1)、デジタル変換された入力信号の絶対値が計算される(ステップS2)。ここで、ステップS1における処理が絶対値計算回路21の処理に対応している。
【0019】
ステップS2に続いて絶対値データが所定時間にわたってエキスパンダ回路2のメモリに保存される。ここで入力信号(音声信号)に必要な周波数の下限は300Hzであるため、その半周期分(約1.67msec)のデータがあれば入力信号レベルの検出が可能であることから、余裕を見て所定時間は例えば1.86msec時間とし、1.86msecの時間にわたってメモリに保存する(ステップS3)。ステップS3に続いて、A/D変換のサンプリングを行う毎に前記メモリ内の最大値を検出する(ステップS4)。
【0020】
ここで、ステップS3およびステップS4における処理がレベル検出回路22の処理に対応している。このように絶対値を取ることによって、正側と負側の振幅の最大レベルを正側だけで求めることができ、さらに、絶対値を取って最大レベルを求めるために、デジタル変換された入力信号データの保存時間もほぼ半周期の時間で済むことになる。
【0021】
入力信号の伸張動作をさせる前に、エキスパンダ回路2の応答速度を調整して、入力信号の瞬間的な変化に処理が追従しないように実質的に時定数を持たせて、入力信号の瞬間的な変化を吸収させる。すなわちステップS4において検出された最大レベルとステップS7において保存されたアタック時間、リリース時間処理後の検出レベルとが比較されてその差と変化の方向が検出される(ステップS5)。
【0022】
ステップS5における比較の結果、ステップS4において検出された最大レベルがステップS7において保存されているアタック時間、リリース時間処理後の検出レベルより増加しておれば保存された検出レベルを増加させ、減少しておれば保存された検出レベルを減少させ、比較の結果に変化が無ければ検出レベルの増減をさせず、こうして得られた検出レベルの値を次のサンプル時の最大データと比較するために保存する(ステップS6〜ステップS7)。
【0023】
ここで、ステップS5〜ステップS7の処理がアタック時間、リリース時間処理回路23の処理に対応している。
【0024】
ステップS6における増加、減少のための定数は、最大レベルが減少する方向に対する定数をアタック時間(アタックタイム)と称し、最大レベルが増加する方向に対する定数をリリース時間(リリースタイム)と称する。ITU−T勧告に規定されている標準アタックタイムは3msec、標準リリースタイムは13.5msecであって、ステップS6においてはこの値に設定されている。
【0025】
次に、伸張回路10におけるアタック時間、リリース時間処理について、図3によって、さらに詳細に説明する。
【0026】
ステップS4において検出された最大レベルAと、ステップS7において保存されているアタック時間、リリース時間処理がなされたレベルA´とのレベル比較がなされ(ステップS5)、(最大レベルA−レベルA´)>0か否かがチェックされる(ステップS61)。ステップS61において(最大レベルA−レベルA´)>0でないと判別されると、(最大レベルA−レベルA´)<0か否かがチェックされる(ステップS62)。ステップS62において(最大レベルA−レベルA´)<0でないと判別されると、最大レベルA=レベルA´の場合であって、ステップS62に続いて前回の処理によるレベルA´が検出レベルとして使用されて(ステップS63)、後記のステップS8が実行される。
【0027】
ステップS61において、(最大レベルA−レベルA´)>0であると判別されると、ステップS61に続いて前回も同じ状態、すなわち(最大レベルA−レベルA´)>0であったか、(最大レベルA=レベルA´)であったか、否かがチェックされる(ステップS64)。ステップS64において前回も同じ状態でなかったと判別されたときは増加率ΔAが、増加率ΔA={(A―A´)/リリース時間に達するサンプリング回数}によって求められ(ステップS65)、A´=(A´+ΔA)が演算されて(ステップS66)、ステップS66によって演算されたA´が新たな検出レベルとして保存される(ステップS7)。
【0028】
ステップS64において前回と同じ状態であったと判別されたときは、ステップS65がスキップされて、続いてステップS66、ステップS7が実行されて、演算されたA´が新たな検出レベルとして保存される。
【0029】
ステップS62において、(最大レベルA−レベルA´)<0であると判別されると、ステップS62に続いて前回も同じ状態、すなわち(最大レベルA−レベルA´)<0であったか、(最大レベルA=レベルA´)であったか、否かがチェックされる(ステップS67)。ステップS67において前回は同じ状態でなかったと判別されたときは減少率ΔAが、減少率ΔA={(A´−A)/アタック時間に達するサンプリング回数}によって求められ(ステップS68)、A´=(A´−ΔA)が演算されて(ステップS69)、ステップS69によって演算されたA´が新たな検出レベルとして保存される(ステップS7)。
【0030】
ステップS67において前回も同じ状態であったと判別されたときは、ステップS68がスキップされてステップS69、ステップS7が実行されて、演算されたA´が新たな検出レベルとして保存される。
【0031】
上記を具体的に説明すれば、ステップS61においてA=100mV、A´=80mVであり、前回A=A´であったとすると、A−A´>0のために、ステップS64において前回と同じ状態ではないと判別されて、ステップS65において増加率ΔA=(100mV−80mV)/10=2mVが演算される。ここで分母の10は、10回のサンプリングによってリリースタイム13.5msecになる場合を示している。したがって、新A´=(旧A´+ΔA)=80mV+2mV=82mVとなり、この82mVが新たな検出レベルとなって、保存される。
【0032】
次のステップS5の実行において、ステップS61においてA=100mV、A´=(上記の新たな検出レベル)82mVであり、前回もA(100mV)−A´(82mV)>0であるため、ステップS64において前回と同じ状態であると判別されて、ステップS65がスキップされて、新A´=(旧A´+ΔA)=(82mV+2mV)=84mVとなり、この84mVが新たな検出レベルとなって、保存される。
【0033】
次のステップS5の実行において、ステップS62においてA=64mV、A´=(上記の新たな検出レベル)84mVであり、前回はA−A´>0であったとすると、A−A´<0なので前回と同じ状態ではなく、減少率が、減少率ΔA=(84mV−64mV)/2=10mVにより演算される。ここで分母の2は、2回のサンプリングによってアタックタイム3msecになる場合を示している。したがって、新A´=(旧A´+ΔA)=(84mV−10mV)=74mVとなり、この74mVが新たな検出レベルとなって、保存される。
【0034】
次に図2に戻って説明する。ステップS63において使用される検出レベル、または、ステップS7において保存された検出レベルの値とデジタル変換された入力信号データとが乗算されて、伸張演算がなされる(ステップ8)。ここで、ステップS7において保存されたレベルの値はAであり、入力信号はA・sinωtのデータであるため、ステップS8における演算によってA・sinωtのデータとなって、伸張比2で伸張されることになる。この結果を模式的に示すと図4(b)の如くになり、図4(b)において実線が伸張処理後の状態を模式的に示し、破線は入力信号を示している。
【0035】
ステップS8に続いて、基準レベルを合わせるための利得係数を乗算する。この場合に乗算によってオーバーフローしないように上限値を制限するリミッタ処理を行い(ステップS9)、次いで利得係数の乗算を行う(ステップS10)。ここで、基準レベルとは、入力信号と出力信号とが等しくなるレベルである。基準レベルより大きいレベルではゲインがるため、入力信号がある値より大きくなると出力信号がオーバーフローするためステップS9が実行されるのである。ステップS8〜ステップS10の処理が伸張演算処理回路24の処理に対応する。
【0036】
ステップS10の実行の結果を模式的に示せば図4(c)に示す如くであって、一点鎖線で示す伸張処理された信号が利得係数の乗算によって実線に示す如くになり、破線で示す入力信号と実線との交点が基準レベルである。ステップS10の出力信号データがD/A変換器3に供給されてアナログ信号に変換され、音声信号となる(ステップS11)。
【0037】
【発明の効果】
以上説明したように本発明にかかる伸張回路によれば、デジタル信号処理によって伸張演算を行うことができて、部品の電気特性のバラツキ、周囲温度変化による特性の変化のない伸張回路が得られる。
【図面の簡単な説明】
【図1】本発明の実施の一形態にかかる伸張回路の構成を示すブロック図である。
【図2】本発明の実施の一形態にかかる伸張回路の作用の説明に供するフローチャートである。
【図3】本発明の実施の一形態にかかる伸張回路におけるアタック時間、リリース時間処理の説明に供するフローチャートである。
【図4】本発明の実施の一形態にかかる伸張回路の作用の説明に供する説明図である。
【図5】従来の伸張回路の回路図である。
【符号の説明】
1 A/D変換器
2 エキスパンダ回路
3 D/A変換器
10 伸張回路
20 絶対値レベル検出回路
21 絶対値計算回路
22 レベル検出回路
23 アタック時間、リリース時間処理回路
24 伸張演算処理回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a decompression circuit that can be used in a syllable compander provided in a wireless communication device.
[0002]
[Prior art]
The conventional decompression circuit is performed by analog signal processing. Specifically, as shown in FIG. 5, an input signal Vin such as an audio signal is supplied to the rectifier 12, and a DC signal corresponding to the level of the input signal Vin is generated in the rectifier 12, and the level of the DC signal is set. The gain of the amplifier 11 is varied proportionally, the input signal Vin is amplified by the amplifier 11, and the amplified output Vout of the amplifier 11 is sent as an expanded output via the buffer 14.
[0003]
Here, the response speed of the rectifier 12 to the speed at which the level of the input signal changes is determined by the capacitance of the capacitor 13 that cooperates with the rectifier 12 and the input impedance of the rectifier 12.
[0004]
For example, at the time of the expansion process of the expansion ratio 2, the gain of the amplifier 11 is controlled so that the relationship between the input signal Vin and the output signal Vout is Vout = 10 × (Vin) 2 based on the output of the rectifier 12. As a result, in the decibel expression, Vout = 2 × Vin (dB) and an expansion ratio of 2 is obtained.
[0005]
[Problems to be solved by the invention]
However, when the input signal is expanded by the conventional expansion circuit as described above, there is a problem that the characteristics change due to variations in electrical characteristics of components such as amplifiers, rectifiers, and buffers, and changes in ambient temperature. there were. Furthermore, there is a problem that the response speed of the signal output from the rectifier changes due to the change in the capacitance of the capacitor.
[0006]
An object of the present invention is to provide an extension circuit that does not vary in electrical characteristics of components and does not change characteristics due to changes in ambient temperature.
[0007]
[Means for Solving the Problems]
An expansion circuit according to the present invention is an expansion circuit for expanding an input signal, and includes an A / D conversion means for A / D converting the input signal, an absolute value calculation means for obtaining an absolute value of the A / D conversion output, The level detection means for detecting the maximum value in the absolute value over at least half a period of the input signal obtained by the absolute value calculation means, and the maximum value detected by the level detection means and the value of the detection level one sample before were compared. An attack time and release time processing means for adding a change based on the amount of change in the result, the direction of change, and a predetermined attack time and release time to the maximum value to obtain a detection level one sample before is provided. The detection time processed by the release time is multiplied by the value of the A / D conversion output to perform an expansion operation.
[0008]
According to the decompression circuit of the present invention, the maximum value of the input signal for decompression is obtained as the absolute value of the input signal, and the maximum value of the absolute value obtained over at least a half cycle of the input signal. Therefore, the storage period of the digitally converted input signal data may be a half-cycle period, and the expansion operation is performed based on this maximum value. However, it is sufficient to store the absolute value of the input signal data digitally converted for obtaining the maximum value for a half period of the input signal, and the memory capacity for storage can be reduced.
[0010]
Furthermore, according to the expansion circuit according to the present invention, since the response speed is suppressed based on the attack time and the release time, a sudden change in the maximum value for the expansion operation is suppressed. The processing does not follow the general change and becomes the same as the case where the expansion circuit is configured by an analog circuit. On the other hand, the tracking characteristic caused by the change in the electrical characteristic of the electric circuit component when the analog circuit is used There is no change.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an expansion circuit according to the present invention will be described with reference to an embodiment.
[0012]
FIG. 1 is a block diagram showing a configuration of a decompression circuit according to an embodiment of the present invention.
[0013]
The expansion circuit 10 according to the embodiment of the present invention shown in FIG. 1 illustrates the case where the expansion ratio is 2.
[0014]
The decompression circuit 10 supplies the input signal to the A / D converter 1 to convert it into a digital signal, and the digital signal output from the A / D converter 1 is supplied to the expander circuit 2 including a digital signal processor. Thus, the expander circuit 2 performs an expansion operation, and the digital signal expanded in the expander circuit 2 is supplied to the D / A converter 3 to be converted into an analog signal and output.
[0015]
The expander circuit 2 includes an absolute value level detection circuit 20 including an absolute value calculation circuit 21 that calculates an absolute value of an input signal in a predetermined time range and a level detection circuit 22 that detects the maximum level of the obtained absolute value. Are processed by the attack time / release time processing circuit 23 and the attack time / release time processing circuit 23 for performing processing based on the attack time or release time for the absolute value level detected by the absolute value level detection circuit 20. The decompression arithmetic processing circuit 24 that performs the expansion processing by multiplying the signal level and the A / D converted input signal is functionally provided, and the expansion arithmetic processing output is sent to the D / A converter 3.
[0016]
The operation of the decompression circuit 10 configured as described above will be described based on the flowchart shown in FIG. 2 where the input signal Vin is an audio signal and Vin = A · sin ωt.
[0017]
Relationship between input and output signals before the expansion process is you will der as shown in Figure 4 (a).
[0018]
The input signal is converted into a digital signal by the A / D converter 1 (step S1), and the absolute value of the digitally converted input signal is calculated (step S2). Here, the processing in step S 1 corresponds to the processing of the absolute value calculation circuit 21.
[0019]
Following step S2, the absolute value data is stored in the memory of the expander circuit 2 for a predetermined time. Here, since the lower limit of the frequency required for the input signal (audio signal) is 300 Hz, the input signal level can be detected if there is data for half a cycle (about 1.67 msec). The predetermined time is, for example, 1.86 msec, and is stored in the memory for 1.86 msec (step S3). Subsequent to step S3, the maximum value in the memory is detected every time A / D conversion sampling is performed (step S4).
[0020]
Here, the processing in step S3 and step S4 corresponds to the processing of the level detection circuit 22. By taking the absolute value in this way, the maximum level of the positive and negative amplitudes can be obtained only on the positive side, and in addition, the digitally converted input signal is used to obtain the absolute value and obtain the maximum level. The data storage time is almost half a cycle.
[0021]
Before the expansion operation of the input signal, the response speed of the expander circuit 2 is adjusted so that the process does not substantially follow the instantaneous change of the input signal so as to have a time constant. To absorb changes. That is, the maximum level detected in step S4 is compared with the attack time stored in step S7 and the detection level after release time processing, and the difference and the direction of change are detected (step S5).
[0022]
As a result of the comparison in step S5, if the maximum level detected in step S4 is higher than the attack level stored in step S7 and the detection level after release time processing, the stored detection level is increased and decreased. If there is no change in the comparison result, the detection level is not increased or decreased, and the detection level value thus obtained is saved for comparison with the maximum data at the next sample. (Steps S6 to S7).
[0023]
Here, the processing of step S5 to step S7 corresponds to the processing of the attack time / release time processing circuit 23.
[0024]
Regarding the constants for increasing and decreasing in step S6, the constant for the direction in which the maximum level decreases is called attack time (attack time), and the constant for the direction in which the maximum level increases is called release time (release time). The standard attack time specified in the ITU-T recommendation is 3 msec, and the standard release time is 13.5 msec, which is set to this value in step S6.
[0025]
Next, attack time and release time processing in the decompression circuit 10 will be described in more detail with reference to FIG.
[0026]
A level comparison is made between the maximum level A detected in step S4 and the level A ′ subjected to the attack time and release time processing stored in step S7 (step S5), and (maximum level A−level A ′). It is checked whether or not> 0 (step S61). If it is determined in step S61 that (maximum level A−level A ′)> 0 is not satisfied, it is checked whether (maximum level A−level A ′) <0 (step S62). If it is determined in step S62 that (maximum level A−level A ′) <0, the maximum level A = level A ′, and the level A ′ obtained in the previous process is detected as the detection level after step S62. Used (step S63), step S8 described later is executed.
[0027]
If it is determined in step S61 that (maximum level A−level A ′)> 0, whether or not (maximum level A−level A ′)> 0 has been the same in the previous time following step S61, that is, (maximum It is checked whether level A = level A ′) or not (step S64). When it is determined in step S64 that the previous state was not the same as before, the increase rate ΔA is obtained by the increase rate ΔA = {(A−A ′) / the number of sampling times reaching the release time} (step S65). (A ′ + ΔA) is calculated (step S66), and A ′ calculated in step S66 is stored as a new detection level (step S7).
[0028]
If it is determined in step S64 that the state is the same as the previous time, step S65 is skipped, then steps S66 and S7 are executed, and the calculated A ′ is stored as a new detection level.
[0029]
If it is determined in step S62 that (maximum level A−level A ′) <0, whether or not (maximum level A−level A ′) <0 is the same as in the previous time following step S62, that is, (maximum It is checked whether level A = level A ′) or not (step S67). When it is determined in step S67 that the previous state was not the same, the decrease rate ΔA is obtained by the decrease rate ΔA = {(A′−A) / number of sampling times reaching the attack time} (step S68). (A′−ΔA) is calculated (step S69), and A ′ calculated in step S69 is stored as a new detection level (step S7).
[0030]
When it is determined in step S67 that the same state has been obtained in the previous time, step S68 is skipped and steps S69 and S7 are executed, and the calculated A ′ is stored as a new detection level.
[0031]
Specifically, if A = 100 mV, A ′ = 80 mV in step S61, and A = A ′ in the previous time, A−A ′> 0, so that the same state as in the previous time in step S64. In step S65, an increase rate ΔA = (100 mV−80 mV) / 10 = 2 mV is calculated. Here, the denominator 10 indicates a case where the release time is 13.5 msec by sampling 10 times. Therefore, new A ′ = (old A ′ + ΔA) = 80 mV + 2 mV = 82 mV, and this 82 mV becomes a new detection level and is stored.
[0032]
In execution of the next step S5, A = 100 mV, A ′ = (the above-mentioned new detection level) 82 mV in step S61, and A (100 mV) −A ′ (82 mV)> 0 in the previous time, step S64. In step S65, the new A ′ = (old A ′ + ΔA) = (82 mV + 2 mV) = 84 mV, and this 84 mV becomes a new detection level and is saved. The
[0033]
In the execution of the next step S5, if A = 64 mV, A ′ = (the above-mentioned new detection level) 84 mV in step S62, and A−A ′> 0 in the previous time, A−A ′ <0. Instead of the same state as the previous time, the reduction rate is calculated by the reduction rate ΔA = (84 mV−64 mV) / 2 = 10 mV. Here, the denominator 2 indicates a case where the attack time is 3 msec by sampling twice. Therefore, new A ′ = (old A ′ + ΔA) = (84 mV−10 mV) = 74 mV, and this 74 mV becomes a new detection level and is stored.
[0034]
Next, referring back to FIG. The detection level used in step S63 or the value of the detection level stored in step S7 is multiplied by the digitally converted input signal data to perform an expansion operation (step 8). Here, since the level value stored in step S7 is A and the input signal is data of A · sin ωt, it becomes A 2 · sin ωt data by the calculation in step S8, and is expanded at an expansion ratio of 2. Will be. This result is schematically shown in FIG. 4B. In FIG. 4B, the solid line schematically shows the state after the expansion process, and the broken line shows the input signal.
[0035]
Subsequent to step S8, the gain coefficient for matching the reference level is multiplied. In this case, limiter processing is performed to limit the upper limit value so as not to overflow due to multiplication (step S9), and then gain coefficient multiplication is performed (step S10). Here, the reference level is a level at which the input signal and the output signal become equal. Since the gain is increased at a level higher than the reference level, the output signal overflows when the input signal exceeds a certain value, so that step S9 is executed. The processing of step S8 to step S10 corresponds to the processing of the decompression arithmetic processing circuit 24.
[0036]
The result of the execution of step S10 is schematically shown in FIG. 4 (c), where the expanded signal indicated by the alternate long and short dash line is indicated by the solid line by the multiplication of the gain coefficient, and is indicated by the broken line. The intersection of the signal and the solid line is the reference level. The output signal data in step S10 is supplied to the D / A converter 3 and converted into an analog signal to be an audio signal (step S11).
[0037]
【The invention's effect】
As described above, according to the expansion circuit according to the present invention, it is possible to perform an expansion operation by digital signal processing, and it is possible to obtain an expansion circuit that is free from variations in the electrical characteristics of components and changes in characteristics due to changes in ambient temperature.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a decompression circuit according to an embodiment of the present invention.
FIG. 2 is a flowchart for explaining the operation of the decompression circuit according to the embodiment of the present invention.
FIG. 3 is a flowchart for explaining attack time and release time processing in the decompression circuit according to the embodiment of the present invention;
FIG. 4 is an explanatory diagram for explaining the operation of the decompression circuit according to the embodiment of the present invention.
FIG. 5 is a circuit diagram of a conventional decompression circuit.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 A / D converter 2 Expander circuit 3 D / A converter 10 Expansion circuit 20 Absolute value level detection circuit 21 Absolute value calculation circuit 22 Level detection circuit 23 Attack time, release time processing circuit 24 Expansion operation processing circuit

Claims (1)

入力信号を伸張する伸張回路であって、入力信号をA/D変換するA/D変換手段と、A/D変換出力の絶対値を求める絶対値計算手段と、絶対値計算手段によって求めた入力信号の少なくとも半周期分にわたる絶対値中の最大値を検出するレベル検出手段と、レベル検出手段によって検出した最大値と1サンプル前の検出レベルの値とを比較した結果の変化量、変化の方向および予め定めたアタック時間およびリリース時間に基づく変化分を前記最大値に加えて1サンプル前の検出レベルとするアタック時間、リリース時間処理手段を備えて、アタック時間処理、リリース時間処理された検出レベルと、前記A/D変換出力の値とを乗算して伸張演算をすることを特徴とする伸張回路。An expansion circuit for expanding an input signal, an A / D conversion means for A / D converting the input signal, an absolute value calculation means for obtaining an absolute value of an A / D conversion output, and an input obtained by the absolute value calculation means Level detection means for detecting a maximum value of absolute values over at least half a cycle of a signal, and the amount of change and direction of change as a result of comparing the maximum value detected by the level detection means with the value of the detection level one sample before And an attack time and release time processing means for adding a change based on a predetermined attack time and release time to the maximum value to obtain a detection level one sample before, and a detection level subjected to attack time processing and release time processing. And a value of the A / D conversion output for expansion operation.
JP2000149498A 2000-05-22 2000-05-22 Expansion circuit Expired - Lifetime JP3870005B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000149498A JP3870005B2 (en) 2000-05-22 2000-05-22 Expansion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000149498A JP3870005B2 (en) 2000-05-22 2000-05-22 Expansion circuit

Publications (2)

Publication Number Publication Date
JP2001332996A JP2001332996A (en) 2001-11-30
JP3870005B2 true JP3870005B2 (en) 2007-01-17

Family

ID=18655349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000149498A Expired - Lifetime JP3870005B2 (en) 2000-05-22 2000-05-22 Expansion circuit

Country Status (1)

Country Link
JP (1) JP3870005B2 (en)

Also Published As

Publication number Publication date
JP2001332996A (en) 2001-11-30

Similar Documents

Publication Publication Date Title
WO2017162115A1 (en) Echo delay detection method, echo cancellation chip and terminal device
JPS63502473A (en) Method and circuit for automatic gain control of signals
JP3870005B2 (en) Expansion circuit
JPH10200351A (en) Digital audio processor
JP3679310B2 (en) Compression circuit
CN1701630B (en) Howling suppression device and howling suppression method
JP2003083763A (en) Correcting method for self noise and device using the same
JP2002299975A (en) Digital agc device
JP4204828B2 (en) Automatic gain control device, automatic gain control method, and automatic gain control program
CN114094966A (en) Dynamic range control circuit, audio processing chip and audio processing method thereof
JP3541263B2 (en) Gain setting method
JPH08278796A (en) Voice processing device
JP2989219B2 (en) Voice section detection method
JP2681957B2 (en) Digital signal processor
JPS6211170A (en) automatic gain control circuit
JPH07105679B2 (en) Audio equipment
JP2681956B2 (en) Envelope detection method for digital signal processor
JP2913310B2 (en) Speech synthesis interruption device
JPH0786943A (en) A/d converter with gain control function
JP4106622B2 (en) VOX circuit
JP3268616B2 (en) Dynamic range extender
JP3027389B2 (en) Binary pattern generation method
JPH0834449B2 (en) Automatic gain control device
JPH03222508A (en) Amplifier circuit
CN118972749A (en) Audio signal processing method and system, power amplifier, and electronic device

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20040820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060724

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060919

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061016

R150 Certificate of patent or registration of utility model

Ref document number: 3870005

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091020

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101020

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111020

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20131020

Year of fee payment: 7

EXPY Cancellation because of completion of term