JPH0685671A - Converter - Google Patents

Converter

Info

Publication number
JPH0685671A
JPH0685671A JP23790392A JP23790392A JPH0685671A JP H0685671 A JPH0685671 A JP H0685671A JP 23790392 A JP23790392 A JP 23790392A JP 23790392 A JP23790392 A JP 23790392A JP H0685671 A JPH0685671 A JP H0685671A
Authority
JP
Japan
Prior art keywords
low
circuit
output
filters
conversion
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
JP23790392A
Other languages
Japanese (ja)
Inventor
Kazuhide Bando
一秀 阪東
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 JP23790392A priority Critical patent/JPH0685671A/en
Publication of JPH0685671A publication Critical patent/JPH0685671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To efficiently perform conversion with small errors even when the frequency of an inputted analog signal is flucturated largely. CONSTITUTION:The levels of analog signals passing filters 1, 2 different in frequency characteristics are compared with each other by a comparator 3, and a control circuit 8 switches selectively either output of the filters 1, 2 at a switching circuit 4 based on a comparison result. The signal is A/D-converted with respect a corresponding sampling frequency in an A/D conversion circuit 5.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、アナログ信号を、伝送
あるいは記録に適したデジタル信号に変換する変換装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a converter for converting an analog signal into a digital signal suitable for transmission or recording.

【0002】[0002]

【従来の技術】この種の変換装置として、音声信号をデ
ジタル信号に変換してメモリに記憶し、必要なときに音
声を取り出す音声合成装置がある。
2. Description of the Related Art As a conversion device of this type, there is a voice synthesis device which converts a voice signal into a digital signal, stores it in a memory, and extracts voice when necessary.

【0003】図4は、従来の音声合成装置における記録
系の構成を示すブロック図である。
FIG. 4 is a block diagram showing the structure of a recording system in a conventional speech synthesizer.

【0004】同図において、1はアナログ信号から高周
波成分を除去するローパスフィルタ、50はアナログ信
号をデジタル信号に変換するA/D変換回路、6はデジ
タル信号データを圧縮する符号化回路、7はデジタル信
号データが格納されるデータメモリ、80は各回路50
6,7を制御する制御回路である。
[0004] In the figure, 1 is a low-pass filter for removing high frequency components from the analog signal, 5 0 A / D converter circuit for converting an analog signal into a digital signal, the encoding circuit for compressing the digital signal data is 6, 7 Is a data memory in which digital signal data is stored, 8 0 is each circuit 5 0 ,
It is a control circuit for controlling 6, 7.

【0005】入力端子9からのアナログ音声信号は、ロ
ーパスフィルタ1で高周波成分が除去され、A/D変換
回路50でデジタル信号に変換され、符号化回路6で、
例えば、ADPCM方式でデータ圧縮された後に、デー
タメモリ7に格納される。
The analog voice signal from the input terminal 9 has its high-frequency component removed by the low-pass filter 1, converted into a digital signal by the A / D conversion circuit 50 , and encoded by the encoding circuit 6.
For example, it is stored in the data memory 7 after being compressed by the ADPCM method.

【0006】なお、再生の場合には、上述と逆の動作、
すなわち、データメモリ7からデータを読み出し、復号
化し、さらに、D/A変換した後、不要周波数成分を除
去して出力する。
In the case of reproduction, the operation reverse to the above,
That is, the data is read from the data memory 7, decoded, further D / A converted, and then the unnecessary frequency component is removed and output.

【0007】[0007]

【発明が解決しようとする課題】ところが、このような
従来例では、予め決められたサンプリング周波数で、デ
ータを収集記憶するので、周波数変動の大きいアナログ
信号に対しては、記憶あるいは伝送の効率が悪くなった
り、誤差が多くなったりするという難点があり、また、
周波数特性が明確でないアナログ信号では、サンプリン
グ周波数の決定を試行錯誤的に行わねばならないという
難点がある。
However, in such a conventional example, since data is collected and stored at a predetermined sampling frequency, the efficiency of storage or transmission is high for an analog signal with a large frequency fluctuation. It has the drawback of getting worse and having more errors, and
An analog signal whose frequency characteristic is not clear has a drawback that the sampling frequency must be determined by trial and error.

【0008】本発明は、上述の点に鑑みて為されたもの
であって、アナログ信号の周波数変動が大きい場合に
も、効率良く、しかも、誤差の少ない変換を行えるよう
にすることを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to enable efficient conversion with less error even when the frequency fluctuation of an analog signal is large. To do.

【0009】[0009]

【課題を解決するための手段】本発明では、上述の目的
を達成するために、次のように構成している。
In order to achieve the above-mentioned object, the present invention is constructed as follows.

【0010】すなわち、本発明は、入力されるアナログ
信号をデジタル信号に変換する変換装置であって、前記
アナログ信号が入力される互いに異なる周波数特性を有
する複数のフィルタと、前記各フィルタから出力される
アナログ信号のレベルを比較する比較回路と、前記各フ
ィルタから出力されるアナログ信号のいずれかを切換出
力する切換回路と、前記切換回路から出力されるアナロ
グ信号をA/D変換するA/D変換回路と、前記比較回
路の出力に基づいて、前記切換回路の切換制御を行うと
ともに、前記A/D変換回路のサンプリング周波数を制
御する制御回路とを備えている。
That is, the present invention is a conversion device for converting an input analog signal into a digital signal, wherein a plurality of filters having different frequency characteristics to which the analog signal is input and the filters output from the respective filters are output. Circuit for comparing the levels of analog signals output from the filters, a switching circuit for switching and outputting any of the analog signals output from the filters, and an A / D for A / D converting the analog signals output from the switching circuits. A conversion circuit and a control circuit for controlling the switching of the switching circuit based on the output of the comparison circuit and controlling the sampling frequency of the A / D conversion circuit are provided.

【0011】[0011]

【作用】上記構成によれば、異なる周波数特性のフィル
タを通過したアナログ信号のレベルを比較し、これに基
づいて、最適な周波数特性のフィルタの出力を切換選択
するとともに、対応するサンプリング周波数でA/D変
換するので、入力されるアナログ信号の周波数変動が大
きい場合にも、効率良く、しかも、誤差の少ない変換が
可能となる。
According to the above construction, the levels of the analog signals that have passed through the filters having different frequency characteristics are compared, and based on this, the output of the filter having the optimum frequency characteristic is switched and selected, and at the corresponding sampling frequency A Since the D / D conversion is performed, even when the frequency fluctuation of the input analog signal is large, it is possible to perform the conversion efficiently and with a small error.

【0012】[0012]

【実施例】以下、図面によって本発明の実施例につい
て、詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0013】実施例1.図1は、本発明の一実施例のブ
ロック図であり、この実施例では、図4の従来例と同様
の音声合成装置の記録系に適用して説明する。
Embodiment 1. FIG. 1 is a block diagram of an embodiment of the present invention. In this embodiment, description will be made by applying it to a recording system of a speech synthesizer similar to the conventional example of FIG.

【0014】この実施例の音声合成装置は、アナログ音
声信号が入力される互いに異なる周波数特性を有する第
1,第2ローパスフィルタ1,2と、各ローパスフィル
タ1,2から出力されるアナログ音声信号のレベルを比
較する比較回路3と、各ローパスフィルタ1,2から出
力されるアナログ音声信号のいずれかを切換出力する切
換回路4と、この切換回路4から出力されるアナログ音
声信号をA/D変換するA/D変換回路5と、A/D変
換されたデジタル信号データを圧縮する符号化回路6
と、この符号化回路6からのデジタル信号データを格納
するデータメモリ7と、比較回路3の出力に基づいて、
切換回路4の切換制御を行うとともに、A/D変換回路
5のサンプリング周波数を制御し、さらに、符号化回路
6およびデータメモリ7を制御する制御回路8とを備え
ている。
The voice synthesizer according to this embodiment has first and second low-pass filters 1 and 2 having different frequency characteristics to which an analog voice signal is input, and analog voice signals output from the low-pass filters 1 and 2. Of the analog audio signals output from the low-pass filters 1 and 2 and a switching circuit 4 that switches and outputs one of the analog audio signals output from the low-pass filters 1 and 2, and the analog audio signal output from the switching circuit 4 is converted into an A / D signal. A / D conversion circuit 5 for conversion and encoding circuit 6 for compressing A / D converted digital signal data
Based on the output of the comparison circuit 3 and the data memory 7 that stores the digital signal data from the encoding circuit 6,
The control circuit 8 controls the switching of the switching circuit 4, controls the sampling frequency of the A / D conversion circuit 5, and further controls the encoding circuit 6 and the data memory 7.

【0015】入力端子9からのアナログ音声信号が入力
される第1ローパスフィルタ1は、例えば8kHz以下
の周波数成分を通過させるフィルタであり、この第1ロ
ーパスフィルタ1からのアナログ音声信号が入力される
第2ローパスフィルタ2は、例えば4kHz以下の周波
数成分を通過させるフィルタである。
The first low-pass filter 1 to which the analog audio signal from the input terminal 9 is input is a filter that passes a frequency component of, for example, 8 kHz or less, and the analog audio signal from the first low-pass filter 1 is input. The second low-pass filter 2 is a filter that passes a frequency component of 4 kHz or less, for example.

【0016】比較回路3は、各ローパスフィルタ1,2
の出力レベルを比較し、その比を制御回路8に与える。
The comparison circuit 3 includes the low-pass filters 1 and 2.
Of the output levels are compared and the ratio is given to the control circuit 8.

【0017】制御回路8は、比較回路3から与えられる
比が、約1である、すなわち、各ローパスフィルタ1,
2の出力レベルがほぼ等しいときには、帯域の狭い第2
ローパスフィルタ2の出力を切換回路4で選択するとと
もに、A/D変換回路5のサンプリング周波数を、第2
ローパスフィルタ2に対応した8kHzとし、また、比
較回路3からの比が約1でないときには、帯域の広い第
1ローパスフィルタ1の出力を切換回路4で選択すると
ともに、A/D変換回路5のサンプリング周波数を、第
1ローパスフィルタ1に対応した16kHzとしてい
る。
In the control circuit 8, the ratio given from the comparison circuit 3 is about 1, that is, each low-pass filter 1,
When the output levels of 2 are almost equal,
The output of the low-pass filter 2 is selected by the switching circuit 4, and the sampling frequency of the A / D conversion circuit 5 is set to the second
The output of the first low-pass filter 1 having a wide band is selected by the switching circuit 4 and the sampling of the A / D conversion circuit 5 is performed at 8 kHz corresponding to the low-pass filter 2, and when the ratio from the comparison circuit 3 is not about 1. The frequency is set to 16 kHz corresponding to the first low pass filter 1.

【0018】さらに、いずれのローパスフィルタ1,2
およびサンプリング周波数が選択されたかを明らかにし
ておくために、制御回路8は、第2ローパスフィルタ2
の出力が選択されたときには、第2ローパスフィルタ2
の出力および対応するサンプリング周波数が選択された
ことを示すコードを、符号化されたデータと共にデータ
メモリ7に格納するようにしている。
Further, which of the low pass filters 1 and 2 is used?
And the sampling frequency has been selected, the control circuit 8 controls the second low-pass filter 2
When the output of is selected, the second low-pass filter 2
And the code indicating that the corresponding sampling frequency has been selected are stored in the data memory 7 together with the encoded data.

【0019】図2は、かかる制御のフローチャートであ
る。
FIG. 2 is a flowchart of such control.

【0020】先ず、最初は、広帯域の第1ローパスフィ
ルタ1からのアナログ音声信号を切換回路4で選択する
とともに、対応するサンプリング周波数でA/D変換し
(ステップn1)、比較回路3の出力、すなわち、ロー
パスフィルタ1,2の出力レベルの比(=第2ローパス
フィルタ2の出力レベル/第1ローパスフィルタ1の出
力レベル)が、ほぼ1に等しい一定の範囲内にあるか否
かを判断し(ステップn2)、一定の範囲内にあるとき
には、狭帯域の第2ローパスフィルタ2からのアナログ
音声信号を切換回路4で選択するとともに、対応するサ
ンプリング周波数でA/D変換し(ステップn3)、一
定の範囲内にないときには、ステップn1に戻る。
First, at first, the switching circuit 4 selects the analog audio signal from the wideband first low-pass filter 1 and A / D-converts it at the corresponding sampling frequency (step n1). That is, it is determined whether or not the ratio of the output levels of the low pass filters 1 and 2 (= the output level of the second low pass filter 2 / the output level of the first low pass filter 1) is within a certain range substantially equal to 1. (Step n2) If it is within a certain range, the switching circuit 4 selects the analog audio signal from the narrow band second low-pass filter 2 and A / D-converts it at the corresponding sampling frequency (Step n3). If it is not within the fixed range, the process returns to step n1.

【0021】このように、各ローパスフィルタ1,2の
出力レベルを比較し、その比較結果に応じて最適なロー
パスフィルタ1,2の出力を切換選択するとともに、選
択したローパスフィルタ1,2に対応するサンプリング
周波数でA/D変換し、さらに符号化してデータメモリ
7に、その履歴、すなわち、いずれのローパスフィルタ
およびサンプリング周波数を選択したかを示すコードと
ともに、格納するものである。
In this way, the output levels of the low-pass filters 1 and 2 are compared, the optimum outputs of the low-pass filters 1 and 2 are switched and selected according to the comparison result, and the low-pass filters 1 and 2 are selected. A / D conversion is performed at the sampling frequency, and the data is further encoded and stored in the data memory 7 together with its history, that is, a code indicating which low-pass filter and sampling frequency is selected.

【0022】例えば、入力アナログ音声信号として、2
kHzの正弦波と6kHzの余弦波が混在して入力され
た場合を考えると、第1,第2ローパスフィルタ1,2
の出力特性は、図3(A),(B)にそれぞれ示される
ように異なることになる。したがって、各ローパスフィ
ルタ1,2の出力を比較すると、その比は、図3(C)
に示されるように変化することになる。この図3(C)
に示されるように、その比が、約1となる期間がないの
で、この場合には、広帯域の第1ローパスフィルタ1の
出力が選択されるとともに、サンプリング周波数を16
kHzとしてA/D変換されることになる。
For example, as an input analog voice signal, 2
Considering the case where a sine wave of kHz and a cosine wave of 6 kHz are mixed and input, the first and second low-pass filters 1, 2
Output characteristics are different as shown in FIGS. 3 (A) and 3 (B), respectively. Therefore, when comparing the outputs of the low-pass filters 1 and 2, the ratio is as shown in FIG.
It will change as shown in. This Figure 3 (C)
, There is no period in which the ratio is about 1. Therefore, in this case, the output of the wideband first low-pass filter 1 is selected and the sampling frequency is set to 16
It will be A / D converted as kHz.

【0023】このようにして、最適な周波数特性のフィ
ルタの出力を切換選択するとともに、対応するサンプリ
ング周波数でA/D変換するので、入力されるアナログ
音声信号の周波数変動が大きい場合にも、効率良く、し
かも、誤差の少ない変換が可能となる。
In this way, the output of the filter having the optimum frequency characteristic is switched and selected, and A / D conversion is performed at the corresponding sampling frequency, so that the efficiency is improved even when the frequency fluctuation of the input analog audio signal is large. It is possible to perform conversion that is good and has few errors.

【0024】なお、再生の場合には、いずれのローパス
フィルタ1,2およびサンプリング周波数が選択された
かのコードが上述のようにデータメモリ7に記憶されて
いるので、そのコードに基づいて、対応する復号化、D
/A変換が行われるとともに、フィルタが選択される。
In the case of reproduction, the code indicating which low-pass filter 1 or 2 and the sampling frequency is selected is stored in the data memory 7 as described above, and the corresponding decoding is performed based on the code. Conversion, D
A / A conversion is performed and a filter is selected.

【0025】上述の実施例では、ローパスフィルタ1,
2をカスケード接続したけれども、ローパスフィルタ
1,2をアナログ音声信号に対して並列に接続してもよ
い。
In the above embodiment, the low pass filter 1,
Although 2 is cascade-connected, the low-pass filters 1 and 2 may be connected in parallel with the analog audio signal.

【0026】上述の実施例では、周波数特性の異なるロ
ーパスフィルタ1,2を、2つ設けた場合について説明
したけれども、本発明の他の実施例として、3つ以上設
けてもよいのは勿論である。例えば、上述の実施例の第
1,第2ローパスフィルタ1,2に加えて、2kHzの
第3ローパスフィルタを設けた場合には、第2,第3ロ
ーパスフィルタの出力の比が約1であれば、第3ローパ
スフィルタを選択し、第2,第3ローパスフィルタの出
力の比が約1でないときには、第1,第2ローパスフィ
ルタの出力レベルを比較し、その比が約1であれば、第
2ローパスフィルタを選択し、約1でないときには、第
1ローパスフィルタを選択することになる。
In the above-mentioned embodiment, the case where two low-pass filters 1 and 2 having different frequency characteristics are provided has been described. However, as another embodiment of the present invention, three or more may be provided. is there. For example, when a 2 kHz third low-pass filter is provided in addition to the first and second low-pass filters 1 and 2 of the above-described embodiment, the output ratio of the second and third low-pass filters may be about 1. For example, when the third low-pass filter is selected and the output ratio of the second and third low-pass filters is not about 1, the output levels of the first and second low-pass filters are compared. If the ratio is about 1, then The second low-pass filter is selected, and when it is not about 1, the first low-pass filter is selected.

【0027】上述の実施例では、音声合成装置に適用し
て説明したけれども、本発明は、音声合成装置に限るも
のではなく、変換したデジタル信号を、メモリに格納す
るのではなく、伝送するようにしてもよい。
Although the above embodiment has been described by applying it to the speech synthesizer, the present invention is not limited to the speech synthesizer, and the converted digital signal is transmitted instead of being stored in the memory. You may

【0028】[0028]

【発明の効果】以上のように本発明によれば、異なる周
波数特性の複数のフィルタを通過したアナログ信号のレ
ベルを比較することにより、最適な周波数特性のフィル
タの出力を切換選択するとともに、対応するサンプリン
グ周波数でA/D変換するので、入力されるアナログ信
号の周波数変動が大きい場合にも、効率良く、しかも、
誤差の少ない変換が自動的に行えることになる。
As described above, according to the present invention, by comparing the levels of analog signals that have passed through a plurality of filters having different frequency characteristics, the output of the filter having the optimum frequency characteristic is switched and selected. Since the A / D conversion is performed at the sampling frequency that is set, even if the frequency fluctuation of the input analog signal is large, it is efficient and
The conversion with less error can be automatically performed.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1の実施例の動作説明に供するフローチャー
トである。
FIG. 2 is a flowchart for explaining the operation of the embodiment of FIG.

【図3】図1の実施例の動作説明に供する波形図であ
る。
FIG. 3 is a waveform diagram for explaining the operation of the embodiment of FIG.

【図4】従来例のブロック図である。FIG. 4 is a block diagram of a conventional example.

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

1,2 第1,第2ローパスフィルタ 3 比較回路 4 切換回路 5 A/D変換回路 8 制御回路 1, 2 1st, 2nd low-pass filter 3 Comparison circuit 4 Switching circuit 5 A / D conversion circuit 8 Control circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力されるアナログ信号をデジタル信号
に変換する変換装置であって、 前記アナログ信号が入力される互いに異なる周波数特性
を有する複数のフィルタと、 前記各フィルタから出力されるアナログ信号のレベルを
比較する比較回路と、 前記各フィルタから出力されるアナログ信号のいずれか
を切換出力する切換回路と、 前記切換回路から出力されるアナログ信号をA/D変換
するA/D変換回路と、 前記比較回路の出力に基づいて、前記切換回路の切換制
御を行うとともに、前記A/D変換回路のサンプリング
周波数を制御する制御回路と、 を備えることを特徴とする変換装置。
1. A converter for converting an input analog signal into a digital signal, wherein a plurality of filters having different frequency characteristics to which the analog signal is input, and an analog signal output from each of the filters are provided. A comparison circuit for comparing levels; a switching circuit for switching and outputting any of the analog signals output from the filters; an A / D conversion circuit for A / D converting the analog signals output from the switching circuit; And a control circuit that controls switching of the switching circuit based on an output of the comparison circuit and controls a sampling frequency of the A / D conversion circuit.
JP23790392A 1992-09-07 1992-09-07 Converter Pending JPH0685671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23790392A JPH0685671A (en) 1992-09-07 1992-09-07 Converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23790392A JPH0685671A (en) 1992-09-07 1992-09-07 Converter

Publications (1)

Publication Number Publication Date
JPH0685671A true JPH0685671A (en) 1994-03-25

Family

ID=17022144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23790392A Pending JPH0685671A (en) 1992-09-07 1992-09-07 Converter

Country Status (1)

Country Link
JP (1) JPH0685671A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010061723A (en) * 2008-09-02 2010-03-18 Toppan Printing Co Ltd Semiconductor memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010061723A (en) * 2008-09-02 2010-03-18 Toppan Printing Co Ltd Semiconductor memory device

Similar Documents

Publication Publication Date Title
US6449519B1 (en) Audio information processing method, audio information processing apparatus, and method of recording audio information on recording medium
US20010051870A1 (en) Pitch changer for audio sound reproduced by frequency axis processing, method thereof and digital signal processor provided with the same
US4271332A (en) Speech signal A/D converter using an instantaneously-variable bandwidth filter
US5633633A (en) Codec apparatus
JPH0685671A (en) Converter
US7340070B2 (en) Voice-data processing circuit and voice-data processing method
US6160502A (en) Interpolation digital filter for audio CODEC
US20060190520A1 (en) Analog filter
KR0141238B1 (en) Digital audio data coding method and its apparatus
KR100357090B1 (en) Player for audio different in frequency
JP2973736B2 (en) CODEC for digital telephone
JP2000003194A (en) Voice compressing device and storage medium
US7085799B2 (en) Analog filter suitable for smoothing a ΔΣ-modulated signal
JPS6251322A (en) Variable sampling pcm system
JP4121199B2 (en) Signal processing device
JPH06276163A (en) Digital audio transmitting device and receiving device
JPS6035845A (en) Digital/analog conversion system
JPS60239129A (en) Method for compressing sound information quantity
JPH0715326A (en) Signal converter
JPH11298333A (en) Voice synthesizer
JPH0411421A (en) Pulse code modulation transmitter
JPS59117836A (en) Device for interpolation of sampling value
JPS62126716A (en) Noise elimination circuit
JPS63220300A (en) Voice analyzer/synthesizer
JPS62159198A (en) Voice synthesization system