JPH01174122A - Automatic input/output characteristic setting method in a/d converter - Google Patents

Automatic input/output characteristic setting method in a/d converter

Info

Publication number
JPH01174122A
JPH01174122A JP33242987A JP33242987A JPH01174122A JP H01174122 A JPH01174122 A JP H01174122A JP 33242987 A JP33242987 A JP 33242987A JP 33242987 A JP33242987 A JP 33242987A JP H01174122 A JPH01174122 A JP H01174122A
Authority
JP
Japan
Prior art keywords
converter
input
data
range
maximum value
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
JP33242987A
Other languages
Japanese (ja)
Inventor
Koichi Endo
浩一 遠藤
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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP33242987A priority Critical patent/JPH01174122A/en
Publication of JPH01174122A publication Critical patent/JPH01174122A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent generation of waveform clip by obtaining a maximum value from a prescribed number of sampling data fetched from an A/D converter and calculating an input range to be set newly from the relation between the maximum value and the specified value. CONSTITUTION:In case of the setting the input/output characteristic in an A/D converter(Cut) 5, an automatic setting button 18 is depressed, a prescribed reference voltage setting data Dr is outputted to a reference voltage setting circuit 16 to bring an input voltage range of the Cut 5 to the specified value. Then the data outputted sequentially from the Cut 5 is fetched by a prescribed number as a sample data for a prescribed period and the maximum value is obtained from the fetched sample data. The maximum value and the specified value of the set input voltage range judges that how many bits can afford to remain and the input voltage range to be set newly is calculated. To set the new input range to the Cut 5, a required reference voltage setting data Dr is outputted to the circuit 16.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、DAT(ディジタル・オーディオ・テープ
レコーダ)等のディジタルオーディオ機器に適用される
A/Dコンバータに係り、特に、波形クリップが生じな
いように、その入出力特性を自動的に設定することがで
きる入出力特性自動設定方法に関する。
[Detailed Description of the Invention] "Industrial Application Field" The present invention relates to an A/D converter applied to digital audio equipment such as a DAT (digital audio tape recorder), and in particular, it relates to an A/D converter that does not cause waveform clipping. The present invention relates to an input/output characteristic automatic setting method that can automatically set the input/output characteristics.

「従来の技術」 従来、DATにおけるアナログ入力系回路は、第2図に
示すように構成されていた。この図において、外部装置
(CDプレーヤー等)から入力端子Tinに供給された
アナログ入力信号は、操作パネル面に設けられたレベル
調整器(録音レベル調整用ボリューム)lで減衰された
上で、A/Dコンバータ2へ供給され、このA/Dコン
バータ2によって16ビツトのディジタル出力データに
変換された後、ディジタル録音系回路3へ供給される。
"Prior Art" Conventionally, an analog input circuit in a DAT has been configured as shown in FIG. In this figure, an analog input signal supplied from an external device (CD player, etc.) to the input terminal Tin is attenuated by a level adjuster (volume for adjusting recording level) l provided on the operation panel surface, and then The data is supplied to the A/D converter 2, converted into 16-bit digital output data by the A/D converter 2, and then supplied to the digital recording circuit 3.

上記レベル調整器iの出力は、操作パネル面に設けられ
たディジタル表示式のレベルメータ4にも供給されてお
り、このレベルメータ4によってA/Dコンバータ2へ
の入力レベル(録音レベル)が表示されるようになって
いる。ここで、レベルメータ4の表示がOdBを示して
いる場合、録音レベルが最上限であること、すなわち、
アナログ入力信号がA/Dコンバータ2の入力レンジの
上限値に達していることが示され、この場合A/Dコン
バータ2の出力データの16ビツト全てが有効となるフ
ルビットとなっている。
The output of the level adjuster i is also supplied to a digital display type level meter 4 provided on the operation panel surface, and this level meter 4 displays the input level (recording level) to the A/D converter 2. It is now possible to do so. Here, if the display on the level meter 4 shows OdB, it means that the recording level is at the maximum limit, that is,
It is shown that the analog input signal has reached the upper limit of the input range of the A/D converter 2, and in this case, all 16 bits of the output data of the A/D converter 2 are valid full bits.

「発明が解決しようとする問題点」 ところで、上述したDATにおいて、例えばCDプレー
ヤーから出力される音楽ソースを録音する場合、実際の
録音に先だって、録音すべき音楽ソースの最もレベルが
高いと思われる部分を選択し、その部分のアナログ信号
を入力端子Tinへ人力した状態で、レベル調整器lを
手動調整して録音レベルの設定を行なう。この場合、ダ
イナミックレンジを有効に活用するためには、レベルメ
ータ4の表示が艶からOdBまでフルスケールにわたっ
て振れるように調整しなければならない。しかし、レベ
ルメータ4の表示がOdBを越えることがあってはなら
ない。なぜなら、録音レベルがA/Dコンバータ2の入
力レンジの上限を越えると、A/Dコンバータ2の出力
データがフルビットとなり、その出力データは、元のア
ナログ入力信号波形の頂部が切り取られた歪んだ波形に
対応したデータとなり、いわゆる波形クリップが生じて
しまうためである。このような波形クリップを防ぐため
には、録音レベルを細心の注意を払って調整しなければ
ならず、極めて煩雑な操作が要求されるという問題があ
った。
"Problem to be Solved by the Invention" By the way, when using the above-mentioned DAT to record a music source output from a CD player, for example, it is assumed that the level of the music source to be recorded is the highest before the actual recording. After selecting a portion and manually inputting the analog signal of that portion to the input terminal Tin, the level adjuster 1 is manually adjusted to set the recording level. In this case, in order to effectively utilize the dynamic range, it is necessary to adjust the display of the level meter 4 so that it can swing over the full scale from glossy to OdB. However, the display on the level meter 4 must never exceed OdB. This is because when the recording level exceeds the upper limit of the input range of A/D converter 2, the output data of A/D converter 2 becomes full bits, and the output data is distorted with the top of the original analog input signal waveform cut off. This is because the data corresponds to a different waveform, resulting in so-called waveform clipping. In order to prevent such waveform clipping, the recording level must be adjusted with great care, which poses a problem in that extremely complicated operations are required.

この発明は上述した事情に鑑みてなされたもので、波形
クリップを防ぐために必要であったアナログ人力信号の
レベル調整を一切不要とすることができるA/Dコンバ
ータにおける入出力特性自動設定方法を提供することを
目的としている。
This invention was made in view of the above-mentioned circumstances, and provides a method for automatically setting input/output characteristics in an A/D converter that eliminates the need for any manual level adjustment of analog signals that was necessary to prevent waveform clipping. It is intended to.

「問題点を解決するための手段」 この発明は、アナログ入力信号をディジタルデータに変
換するとともに入力レンジが任意に設定可能なA/Dコ
ンバータにおいて、正規の変換動作に先だって、予め、
A/Dコンバータの入力レンジを規定値とした状態で、
変換すべきアナログ入力信号を前記A/Dコンバータへ
入力し、一定期間内に、前記A/Dコンバータから順次
出力されるデータをサンプルデータとして所定数取り込
み、これら取り込んだ所定数のサンプルデータの中から
最大値を求め、この最大値と前記規定値との関係から新
たに設定すべき人力レンジを算出し、これにより求めた
新たな入力レンジを前記A/Dコンバータに設定するこ
とを特徴としている。
"Means for Solving the Problems" The present invention provides an A/D converter that converts an analog input signal into digital data and whose input range can be arbitrarily set.
With the input range of the A/D converter set to the specified value,
An analog input signal to be converted is input to the A/D converter, a predetermined number of data sequentially output from the A/D converter is captured as sample data within a certain period of time, and among the predetermined number of sample data thus captured, A maximum value is calculated from the above, a new manual range to be set is calculated from the relationship between this maximum value and the specified value, and the new input range thus calculated is set to the A/D converter. .

「作用」 上述した方法によれば、正規の変換動作に先だって、変
換すべきアナログ入力信号の最もレベルが高いと思われ
る部分を入力するだけで、A/Dコンバータの入出力特
性が、波形クリップが生じないように自動的に設定され
、これにより従来波形クリップを防ぐために必要であっ
たアナログ入力信号のレベル調整が一切不要となる。
"Effect" According to the method described above, just by inputting the portion of the analog input signal to be converted that is considered to have the highest level prior to the normal conversion operation, the input/output characteristics of the A/D converter can be changed to cause waveform clipping. This eliminates the need for level adjustment of the analog input signal, which was conventionally required to prevent waveform clipping.

「実施例」 以下、図面を参照し、この発明の実施例について説明す
る。
"Embodiments" Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例の構成を示すブロック図で
ある。この図において、入力端子TinにはCDプレー
ヤーから音楽ソースが供給される。5は入力端子Tin
から直接供給されるアナログ入力電圧信号Vinを16
ビツト(DB+s 〜DB、)のディジタル出力データ
に順次変換する逐次比較型A/Dコンバータであり、ア
ナログ入力電圧VinとD/Aコンバータ8の出力電圧
Vrとを比較するアナログコンパレータ6と、このアナ
ログコンパレーク6の出力に基づいて出力データの酋ビ
ットDB + s−D B oを順次決定する逐次比較
ロジック7と、この逐次比較ロジック7から出力される
出力データの各ビットDB、、−DBOの重みに対応し
た出力電圧Vrを発生するD/Aコンバータ8とから(
&成されている。そして、このA/Dコンバータ5は、
内部のD/Aコンバータ8に入力される基阜電圧V、r
efに応じてアナログ入力電圧レンジが設定されるよう
になっており、この入力電圧レンジの上限値に対応した
アナログ入力電圧Vinが入力されると、その出力デー
タはフルビットとなり、各ビットD B Is ” D
 B oは全て“l”となる。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In this figure, a music source is supplied to the input terminal Tin from a CD player. 5 is the input terminal Tin
The analog input voltage signal Vin directly supplied from 16
This is a successive approximation type A/D converter that sequentially converts bits (DB+s to DB,) into digital output data. A successive approximation logic 7 that sequentially determines the most important bits DB+s-DBO of the output data based on the output of the comparator 6, and each bit DB, -DBO of the output data output from the successive approximation logic 7. From a D/A converter 8 that generates an output voltage Vr corresponding to the weight (
& has been completed. This A/D converter 5 is
The reference voltage V, r input to the internal D/A converter 8
The analog input voltage range is set according to ef, and when the analog input voltage Vin corresponding to the upper limit of this input voltage range is input, the output data becomes full bits, and each bit D B Is”D
All B o's are "l".

上述したA/Dコンバータ5から順次出力される16ビ
ツトの出力データは、DSP(ディジタル信号処理用プ
ロセッサ)lOを介して、デジタル録音系回路3へ供給
され、データ変調回路13、記録アンプ14および磁気
ヘッド15を介して、DAT用の磁気テープに磁気記録
される。
The 16-bit output data sequentially output from the A/D converter 5 described above is supplied to the digital recording system circuit 3 via the DSP (digital signal processing processor) 1O, and is then sent to the data modulation circuit 13, recording amplifier 14, and Magnetic recording is performed on a DAT magnetic tape via the magnetic head 15.

i6は基準電圧設定回路であり、DSP 10から供給
される8ビツトのレンジ設定データDrに基づいて、A
/Dコンバータ5へ供給する基準電圧V refを25
6(=2”)段階に切り換える。また、18は自動設定
ボタンであり、DSP 10に対して後述する自動設定
処理の開始を指示するためのものである。
i6 is a reference voltage setting circuit, and based on the 8-bit range setting data Dr supplied from the DSP 10,
The reference voltage V ref supplied to the /D converter 5 is set to 25
6 (=2'') stage. Also, 18 is an automatic setting button, which is used to instruct the DSP 10 to start automatic setting processing, which will be described later.

また、上記DSP t oは、ディジタル信号処理のア
ルゴリズムを高速に実行する1チツプ・マイクロコンピ
ュータであり、その内蔵メモリには、A/Dコンバータ
5の出力データに基づいて、次のような自動設定処理を
実行するためのプログラムが予め記憶されている。
The DSP to is a one-chip microcomputer that executes digital signal processing algorithms at high speed, and its built-in memory stores the following automatic settings based on the output data of the A/D converter 5. A program for executing processing is stored in advance.

■自動設定ボタン18が押された時点で、A/Dコンバ
ータ5の入力電圧レンジを規定値とするために、基準電
圧設定回路16へ所定の基準電圧設定データDrを出力
する。この場合、規定値は、音楽ソースとして最もレベ
ルの高いCDプレーヤーから出力されるアナログ信号の
上限値(規格により、2 V rl118と定められて
いる)に対応した値とする。
(2) When the automatic setting button 18 is pressed, predetermined reference voltage setting data Dr is output to the reference voltage setting circuit 16 in order to set the input voltage range of the A/D converter 5 to the specified value. In this case, the specified value is a value corresponding to the upper limit value (defined as 2 V rl118 by the standard) of an analog signal output from a CD player having the highest level as a music source.

■一定期間内に、A/Dコンバータ5からMl出力され
るデータをサンプルデータとして所定数取り込み、これ
ら取り込んだ所定数のサンプルデータの中から最大値を
求める。
(2) A predetermined number of data outputted from the A/D converter 5 as sample data are taken in within a certain period of time, and the maximum value is determined from among the predetermined number of sample data taken in.

■上記■で求めた最大値と、上記■で設定した入力電圧
レンジの規定値とから、残り何ビットの余裕があるのか
判断し、これにより、新たに設定すべき入力端子レンジ
を算出する。例えば、サンプルデータの最大値が、13
ビツトフルであったとしたら、残り3ビツトの余裕があ
ることになり、上記の規定値に、3ビツト分の値を加算
した値が新たな入力電圧レンジとなる。
(2) From the maximum value obtained in (2) above and the specified value of the input voltage range set in (2) above, determine how many bits remain, and from this, calculate the input terminal range to be newly set. For example, if the maximum value of sample data is 13
If it is bit full, there is a margin of 3 bits remaining, and the value obtained by adding the value for 3 bits to the above specified value becomes the new input voltage range.

■新たな入力レンジをA/Dコンバータ5に設定するた
めに、基準電圧設定回路!6へ所要の基準電圧設定デー
タDrを出力する。
■Reference voltage setting circuit to set a new input range to A/D converter 5! The required reference voltage setting data Dr is output to 6.

次に、上述した一実施例において、CDプレーヤーから
出力される音楽ソースを録音する場合、実際の録音に先
だって、録音すべき音楽ソースの最もレベルが高いと思
われる部分を選択し、その部分のアナログ信号を入力端
子Tinへ入力し、自動設定ボタン18を押す。すると
、DSPIOは、上述した■〜■の手順で、供給された
アナログ入力電圧Vinに対応した値の入力電圧レンジ
をA/Dコンバータ5に設定する。これにより、A/D
コンバータ5の入出力特性が、波形クリップが生じない
ように自動的に設定される。
Next, in the above-described embodiment, when recording a music source output from a CD player, prior to actual recording, a portion of the music source to be recorded that is considered to have the highest level is selected, and that portion of the music source is selected. Input the analog signal to the input terminal Tin and press the automatic setting button 18. Then, the DSPIO sets the input voltage range of the value corresponding to the supplied analog input voltage Vin to the A/D converter 5 in accordance with the above-mentioned steps ① to ②. As a result, A/D
The input/output characteristics of converter 5 are automatically set so that waveform clipping does not occur.

「発明の効果」 以上説明したように、この発明によれば、正規の変換動
作に先だって、予め、A/Dコシバータの入力レンジを
規定値とした状態で、変換すべきアナログ入力信号を前
記A/Dコンバータへ人力し、一定期間内に、前記A/
Dコンバータから順次出力されるデータをサンプルデー
タとして所定数取り込み、これら取り込んだ所定数のサ
ンプルデータの中から最大値を求め、この最大値と前記
規定値との関係から新たに設定すべき入力レンジを算出
し、これにより求めた新たな入力レンジを前記A/Dコ
ンバータに設定するようにしたので、正規の変換動作に
先だって、変換すべきアナログ入力信号の最もレベルが
高いと思われる部分を入力するだけで、A/Dコンバー
タの入出力特性が、波形クリップが生じないように自動
的に設定され、これにより従来波形クリップを防ぐため
に必要であったアナログ入力信号のレベル調整が一切不
要となるという効果が得られる。
"Effects of the Invention" As explained above, according to the present invention, prior to the regular conversion operation, the analog input signal to be converted is set to the A/D converter's input range at a specified value. /D converter, and within a certain period of time,
A predetermined number of data sequentially output from the D converter is taken in as sample data, the maximum value is determined from among the predetermined number of sample data taken in, and a new input range to be set is determined from the relationship between this maximum value and the specified value. is calculated and the new input range obtained is set in the A/D converter. Therefore, before the regular conversion operation, input the part of the analog input signal to be converted that is considered to have the highest level. By simply doing this, the input/output characteristics of the A/D converter are automatically set to prevent waveform clipping, which eliminates the need for level adjustment of the analog input signal, which was previously required to prevent waveform clipping. This effect can be obtained.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は従来のDATのアナログ入力系回路の構成を示
すブロック図である。 5・・・・・・逐次比較型A/Dコンバータ、10・・
・・・・DSP、16・・・・・・基準電圧設定回路、
18・・・・・・自動設定ボタン。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a block diagram showing the configuration of an analog input circuit of a conventional DAT. 5... Successive approximation type A/D converter, 10...
...DSP, 16...Reference voltage setting circuit,
18... Automatic setting button.

Claims (1)

【特許請求の範囲】[Claims] アナログ入力信号をディジタルデータに変換するととも
に入力レンジが任意に設定可能なA/Dコンバータにお
いて、正規の変換動作に先だって、予め、A/Dコンバ
ータの入力レンジを規定値とした状態で、変換すべきア
ナログ入力信号を前記A/Dコンバータへ入力し、一定
期間内に、前記A/Dコンバータから順次出力されるデ
ータをサンプルデータとして所定数取り込み、これら取
り込んだ所定数のサンプルデータの中から最大値を求め
、この最大値と前記規定値との関係から新たに設定すべ
き入力レンジを算出し、これにより求めた新たな入力レ
ンジを前記A/Dコンバータに設定することを特徴とす
るA/Dコンバータにおける入出力特性自動設定方法。
In an A/D converter that converts an analog input signal into digital data and allows the input range to be set arbitrarily, the input range of the A/D converter is set to the specified value before the conversion is performed prior to the regular conversion operation. A predetermined number of data sequentially outputted from the A/D converter is inputted into the A/D converter, and a predetermined number of data sequentially outputted from the A/D converter is captured as sample data, and the maximum The A/D converter is characterized in that the input range to be newly set is calculated from the relationship between the maximum value and the specified value, and the new input range thus calculated is set in the A/D converter. A method for automatically setting input/output characteristics in a D converter.
JP33242987A 1987-12-28 1987-12-28 Automatic input/output characteristic setting method in a/d converter Pending JPH01174122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33242987A JPH01174122A (en) 1987-12-28 1987-12-28 Automatic input/output characteristic setting method in a/d converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33242987A JPH01174122A (en) 1987-12-28 1987-12-28 Automatic input/output characteristic setting method in a/d converter

Publications (1)

Publication Number Publication Date
JPH01174122A true JPH01174122A (en) 1989-07-10

Family

ID=18254873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33242987A Pending JPH01174122A (en) 1987-12-28 1987-12-28 Automatic input/output characteristic setting method in a/d converter

Country Status (1)

Country Link
JP (1) JPH01174122A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG102007A1 (en) * 2000-09-19 2004-02-27 Nec Corp Method of fabricating thin magnetic film and electrolytic plating apparatus for fabricating thin magnetic film
US6780530B2 (en) 1999-10-06 2004-08-24 Nec Corporation Magnetic material having a high saturation magnetic flux density and a low coercive force

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5728439A (en) * 1980-07-28 1982-02-16 Nec Corp Digital coding and decoding system
JPS5847327A (en) * 1981-09-16 1983-03-19 Nippon Telegr & Teleph Corp <Ntt> Analog-to-digital converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5728439A (en) * 1980-07-28 1982-02-16 Nec Corp Digital coding and decoding system
JPS5847327A (en) * 1981-09-16 1983-03-19 Nippon Telegr & Teleph Corp <Ntt> Analog-to-digital converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6780530B2 (en) 1999-10-06 2004-08-24 Nec Corporation Magnetic material having a high saturation magnetic flux density and a low coercive force
SG102007A1 (en) * 2000-09-19 2004-02-27 Nec Corp Method of fabricating thin magnetic film and electrolytic plating apparatus for fabricating thin magnetic film

Similar Documents

Publication Publication Date Title
JPH0691394B2 (en) Output level controller
US4125865A (en) Recording system
JPH01174122A (en) Automatic input/output characteristic setting method in a/d converter
US20030171933A1 (en) Method and device for recording in cyclic loops several sound sequences
JP2566262B2 (en) Method for preventing waveform clipping in A / D converter for digital audio
JPH04168499A (en) Device for compressing and extending time axis
JPH0581990B2 (en)
JPS6029800A (en) Voice analysis system
JPS60175256A (en) Automatic sound volume controller
JPH0734277B2 (en) Voice message storage circuit for video tape recorder and control method thereof
JP3365113B2 (en) Audio level control device
JP2557829B2 (en) Automatic cue signal recording device
KR0163282B1 (en) Method for controlling a voice signal
JP2755882B2 (en) Auto tracking device
JPH01251361A (en) Electronic equipment
JPS6343624Y2 (en)
KR940004493B1 (en) Autotracking device and processing method thereof for vcr
CA1120586A (en) Recording system
JPH01307974A (en) Digital signal recorder
JPH0529861A (en) Automatic device for avoiding musical sound distortion
JPS5975295A (en) Voice outputting method and apparatus
KR0174848B1 (en) Apparatus and method for learning a song using a digital signal processor
JPH0336808A (en) Automatic adjustment device for digital gain
JPH04328351A (en) Automatic adjuster for information reproducing speed
JPH02227874A (en) Recorder