JPH07111427A - Electronic volume - Google Patents

Electronic volume

Info

Publication number
JPH07111427A
JPH07111427A JP27599093A JP27599093A JPH07111427A JP H07111427 A JPH07111427 A JP H07111427A JP 27599093 A JP27599093 A JP 27599093A JP 27599093 A JP27599093 A JP 27599093A JP H07111427 A JPH07111427 A JP H07111427A
Authority
JP
Japan
Prior art keywords
pulse
output
logical
level
circuit
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
JP27599093A
Other languages
Japanese (ja)
Inventor
Makoto Yoshigaki
真 吉垣
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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio Co Ltd
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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP27599093A priority Critical patent/JPH07111427A/en
Publication of JPH07111427A publication Critical patent/JPH07111427A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

PURPOSE:To control the adjustment of an accurate and stable output level and to reduce the cost of an applied equipment by varying a duty ratio of a pulse train so as to adjust an output level of an analog demodulation signal. CONSTITUTION:The control from a computer 3 is implemented by using a bit string outputted circulatingly from one port and a DC variable voltage obtained from a smoothing circuit 5. The voltage is adjusted by a ratio of logical 1 of a bit string outputted from the port to a logical 0, that is, the control of a duty ratio. On the other hand, a pulse width signal inputted from a pulse width modulation circuit 1 to a switching circuit 2 is received from the circuit 5 as a pull-up voltage to control an output pulse amplitude. That is, when a port output bit string is logical 1, the pulse level is controlled maximum, when the port output bit string is logical 0, the pulse level is controlled minimum, and when the port output bit string is between the logical 1 and 0, the ratio of the logical 1 with respect to logical 0 is controlled, that is, the pulse level proportional to the duty ratio is controlled and an output level from the circuit 2 is adjusted between the maximum and the minimum level.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば各種オーディオ
機器,通信機器等において電子的にアナログ出力信号の
レベル調整を行う電子ボリュームに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic volume for electronically adjusting the level of an analog output signal in various audio equipments, communication equipments and the like.

【0002】[0002]

【従来の技術】従来のこの種の電子ボリュームは、減衰
量の異なるアッテネータ(attenuator)とアナログスイッ
チとを組合せて構成され、スイッチを切り換えることに
より入力電圧の分圧量を加減する方法が一般的である。
この方法は、スイッチの構成が複雑になると共に、例え
ばコンピュータを用いて遠隔操作でレベル調整を行う場
合には、数多くのアナログスイッチをそれぞれ独立にO
N/OFFするため複数のポートが必要となり、コンピ
ュータとのインターフェイスに比較的複雑な回路が必要
になるという問題がある。
2. Description of the Related Art A conventional electronic volume of this kind is constructed by combining an attenuator having different attenuation and an analog switch, and a method of adjusting the divided amount of the input voltage by switching the switch is generally used. Is.
This method complicates the switch configuration and, for example, when adjusting the level by remote control using a computer, a large number of analog switches are turned on independently.
There is a problem in that a plurality of ports are required to turn on / off and a relatively complicated circuit is required to interface with a computer.

【0003】また、その他の電子ボリュームとしては、
VCA(電圧制御増幅器)を用いたもの、LED−CD
SフォトカプラやFETを用いたもの等が一部で使用さ
れているが、これらで構成される電子ボリュームは、減
衰量の算出が難しく、正確さを追及するためには比較的
高度なアナログ回路技術を駆使する必要がある。また、
バラつきが出やすく温度変化による影響を受けやすい等
の問題があり、安価で安定した性能のものが得られない
という欠点がある。
As other electronic volume,
Using VCA (Voltage Controlled Amplifier), LED-CD
Some parts such as S photo couplers and FETs are used, but the electronic volume composed of these is difficult to calculate the amount of attenuation, and it is a relatively advanced analog circuit to pursue accuracy. It is necessary to make full use of technology. Also,
There is a problem that variations easily occur and it is easily affected by temperature changes, and there is a drawback that inexpensive and stable performance cannot be obtained.

【0004】[0004]

【発明が解決しようとする課題】上記のように従来の電
子ボリュームでは、コンピュータによる遠隔操作を行う
場合に、正確で安定した動作を行わせるためにはハード
あるいはソフトに、複雑で高度な技術を用いる必要があ
り、コスト高になる等の問題点があった。
As described above, in the conventional electronic volume, in order to perform an accurate and stable operation when remotely operated by a computer, a complicated and advanced technique is applied in hardware or software. There is a problem in that it needs to be used and the cost becomes high.

【0005】この発明はかかる問題点を解決するために
なされたものであり、簡単なハードとソフトとの組合わ
せで1本のポートで接続されたコンピュータによる遠隔
操作でも正確で安定した動作が行える電子ボリュームを
提供することを目的としている。
The present invention has been made in order to solve the above problems, and an accurate and stable operation can be performed even by remote control by a computer connected through a single port with a simple combination of hardware and software. It is intended to provide electronic volume.

【0006】[0006]

【課題を解決するための手段】本発明に係わる電子ボリ
ュームは、アナログ振幅波形をその振幅に応じてパルス
幅を変調するパルス信号に変調してスイッチング回路の
ベースに入力し、このスイッチング回路のオープンコレ
クタには1つのポートから所定周期で繰り返し出力され
るパルス列のデューテイ比をボリューム設定量に応じて
可変して制御したパルス列を平滑化して得る可変電圧を
入力させる構成とした。
An electronic volume according to the present invention modulates an analog amplitude waveform into a pulse signal whose pulse width is modulated according to the amplitude and inputs the pulse signal to the base of a switching circuit, and opens the switching circuit. The collector is configured to input a variable voltage obtained by smoothing a pulse train which is controlled by varying the duty ratio of the pulse train repeatedly output from one port in a predetermined cycle according to the volume setting amount.

【0007】[0007]

【実施例】本発明は、アナログ信号をパルス信号に変調
して処理する。すなわち、アナログ振幅信号をパルス幅
変調信号に置き換え、且つ、出力レベルをパルスの振幅
(高さ)を調整することにより調整し、このパルス信号
を再度アナログ信号に復調する。すなわち図1に示すよ
うに、アナログ信号(a)の振幅波形はパルス幅変調信
号(b)に置き換えることができ、また、その出力レベ
ルは(MAX)〜(MIN)に示すように、パルスの高
さ(電圧値)を調整することで出力レベルの調整を行
う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention processes an analog signal by modulating it into a pulse signal. That is, the analog amplitude signal is replaced with the pulse width modulation signal, the output level is adjusted by adjusting the pulse amplitude (height), and the pulse signal is demodulated again into the analog signal. That is, as shown in FIG. 1, the amplitude waveform of the analog signal (a) can be replaced with the pulse width modulation signal (b), and its output level is as shown in (MAX) to (MIN). The output level is adjusted by adjusting the height (voltage value).

【0008】以下、本発明の具体的な実施例について説
明する。図2は、本発明の一実施例を示すブロック図で
あり、図において、1はパルス幅変調回路、2はスイッ
チング回路、3はコンピュータ、4はコンピュータ3内
のビット列を格納したテーブル、5は平滑化回路、6は
LPFである。パルス幅変調回路1には、図1(a)に
示すアナログ信号aが入力され、その振幅に従って図1
(b)に示すパルス幅変調信号がスイッチング回路2へ
出力される。一方、コンピュータ3内では、ソフト的に
RAM上に設けたレーブル4に格納されたビット列デー
タ(図3に示す)が繰り返し読み出され、ポートから出
力される。これが次の平滑化回路5でボリューム設定に
応じた電圧値となり、スイッチング回路2のオープンコ
レクタのプルアップ用電圧として与えられる。
Specific examples of the present invention will be described below. FIG. 2 is a block diagram showing an embodiment of the present invention, in which 1 is a pulse width modulation circuit, 2 is a switching circuit, 3 is a computer, 4 is a table storing bit strings in the computer 3, and 5 is a table. The smoothing circuit 6 is an LPF. The analog signal a shown in FIG. 1A is input to the pulse width modulation circuit 1, and the analog signal a shown in FIG.
The pulse width modulation signal shown in (b) is output to the switching circuit 2. On the other hand, in the computer 3, the bit string data (shown in FIG. 3) stored in the rable 4 provided on the RAM by software is repeatedly read and output from the port. This becomes a voltage value according to the volume setting in the next smoothing circuit 5, and is given as a pull-up voltage of the open collector of the switching circuit 2.

【0009】すなわち本発明では、コンピュータ3側か
らの制御を、多くのポートを使う方法を避け、図2に示
すように1本のポートから循環して出力されるビット列
およびそのRC平滑によって得られる直流可変電圧の電
圧値によって制御する。そしてこの電圧値は、1本のポ
ートから出力されるビット列の論理「1」の割合、つま
りデューティ比を制御することにより調整する。なお、
このポート出力は平滑して使用するため、低速の割り込
み処理で作られる遅いビット列出力で十分である。
That is, in the present invention, control from the computer 3 side is obtained by avoiding the method of using many ports and by bit stream cyclically output from one port and its RC smoothing as shown in FIG. It is controlled by the voltage value of the DC variable voltage. This voltage value is adjusted by controlling the ratio of the logic "1" of the bit string output from one port, that is, the duty ratio. In addition,
Since this port output is used after being smoothed, a slow bit string output generated by low-speed interrupt processing is sufficient.

【0010】一方、パルス幅変調回路1からスイッチン
グ回路2のベースに入力されるパルス幅変調信号は、ス
イッチング回路2がオープンコレクタで構成され、プル
アップ用電圧として上述の平滑化回路5からの電圧が入
力され、出力パルスの振幅(高さ)が、例えば図1の
(MAX)〜(MIN)の範囲にコントロールされる。
すなわち、ポート出力のビット列が、図3の(max)
に示すように全て「1」であれば最大(音量)、図3の
(min)に示すように全て「0」であれば最小(無
音)、その間(mid)はビット列の「1」の割合、つ
まりデューティ比に比例したパルス高のコントロールが
可能となる。すなわち、スイッチング回路2からの出力
は、例えば図1の(MAX)〜(MIN)の間で、出力
レベルを調整できるようになる。
On the other hand, in the pulse width modulation signal input from the pulse width modulation circuit 1 to the base of the switching circuit 2, the switching circuit 2 is composed of an open collector, and the voltage from the smoothing circuit 5 is used as a pull-up voltage. Is input, and the amplitude (height) of the output pulse is controlled within the range of (MAX) to (MIN) in FIG. 1, for example.
That is, the bit string of the port output is (max) in FIG.
If all "1" as shown in Fig. 3, the maximum (volume), if all "0" as shown in (min) of Fig. 3, the minimum (silence), during that (mid) ratio of "1" of the bit string That is, it becomes possible to control the pulse height in proportion to the duty ratio. That is, the output level of the output from the switching circuit 2 can be adjusted, for example, between (MAX) to (MIN) in FIG.

【0011】そしてこの調整は、例えば現状から6デシ
ベル下げる(アナログ音声出力の振幅を半分にする)場
合は、ポート出力の論理「1」の数を半分に間引くこと
よって容易に実現できる。一般的には、現状からXデシ
ベル下げたい場合には、現状のビット列(パルスがN個
の場合)から論理「1」をN・10X/20個残すビット列
にソフトを変更すれば良い。
This adjustment can be easily realized by, for example, reducing the number of logic "1" of the port output by half in the case of lowering the current output by 6 decibels (halving the amplitude of the analog voice output). In general, when it is desired to lower the decibel by X decibels from the current state, the software may be changed from the current bit string (when the number of pulses is N) to a bit string that retains N · 10 X / 20 logic “1”.

【0012】すなわち、コンピュータ3側のポート出力
は、例えば10ビットパルス(このビット数が電子ボリ
ュームの分解能に相当する)のパルス列を循環させて出
力する。そして、最大音量時は(max)に示すように
全て論理「1」を出し、無音時は(min)に示すよう
に全て論理「0」とする。また、最大音量時からXデシ
ベル減衰させる場合には、ソフトの変更によってオール
「1」から「1」の割合を10X/20倍に減らすようにす
るが、この場合、後段のRC平滑がなるべくスムーズに
行われるように、「1」を1カ所に集中させるのではな
く、図3の(mid)に示すように「1」が分散する形
で間引くように構成する。
That is, the port output on the side of the computer 3 circulates and outputs a pulse train of, for example, 10-bit pulse (this number of bits corresponds to the resolution of the electronic volume). Then, at the maximum volume, all logic "1" is output as shown in (max), and when there is no sound, all logic "0" is output as shown in (min). Also, in the case of attenuating X decibels from the maximum volume level, the ratio of all "1" to "1" should be reduced to 10 X / 20 times by changing the software. For smooth operation, the "1" s are not concentrated at one place, but are thinned out in a dispersed manner as shown in (mid) of FIG.

【0013】また、パルス幅変調回路1は、良く知られ
ているが、例えばマルチバイブレータの弛緩時間を決定
するトリガ基準電圧にアナログ信号を重畳させる回路構
成とすれば良い。また、アナログ信号への復調は、ロー
パスフィルタ(LFP)6によって行われるが、本来ア
ナログ信号を扱う回路やレシーバ等では必要以上に高い
周波数をカットオフするような仕様になっている場合が
多く、このような回路構成のものでは、ローパスフィル
タ6を省略することができる。
The pulse width modulation circuit 1 is well known, but it may have a circuit structure in which an analog signal is superimposed on a trigger reference voltage for determining the relaxation time of the multivibrator. Further, although demodulation to an analog signal is performed by a low-pass filter (LFP) 6, it is often designed to cut off an unnecessarily high frequency in a circuit or receiver that originally handles an analog signal. With such a circuit configuration, the low pass filter 6 can be omitted.

【0014】[0014]

【発明の効果】本発明の電子ボリュームは以上説明した
ように、簡単なハードおよびソフトの組合せで1本のポ
ートを介して比較的正確で安定した出力レベルの調整を
遠隔操作でき、各種通信機器,オーディオ機器,電子楽
器,家電製品等のローコスト化が図れる。また、トーン
信号のエンベロープ制御を簡素な回路で実現できる等の
効果がある。
As described above, the electronic volume of the present invention is capable of remotely controlling a relatively accurate and stable output level adjustment via a single port with a simple combination of hardware and software, and various communication devices. The cost of audio equipment, electronic musical instruments, home appliances, etc. can be reduced. Further, there is an effect that the envelope control of the tone signal can be realized by a simple circuit.

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

【図1】本発明の動作原理を説明するための図である。FIG. 1 is a diagram for explaining the operation principle of the present invention.

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

【図3】本発明におけるボリューム設定量でデューテイ
比を調整するポート出力を説明するための図である。
FIG. 3 is a diagram for explaining a port output for adjusting a duty ratio with a volume setting amount according to the present invention.

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

1 パルス幅変調回路 2 スイッチング回路 3 コンピュータ 4 RAMテーブル 5 平滑化回路 6 LPF 1 pulse width modulation circuit 2 switching circuit 3 computer 4 RAM table 5 smoothing circuit 6 LPF

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 アナログ信号波形の出力レベルを調整す
る電子ボリュームにおいて、 アナログ振幅波形をその振幅に応じてパルス幅を変調し
たパルス信号に変調し、スイッチング回路のベースに入
力する手段、 1つのポートから所定周期で繰り返し出力されるパルス
列のデューテイ比をボリューム設定量に応じて可変して
制御し平滑化することでボリューム設定量に応じて可変
する電圧を得、この電圧を上記スイッチング回路のオー
プンコレクタに与える手段、 上記オープンコレクタから出力される上記電圧に応じた
振幅を有するパルス幅変調信号をアナログ信号波形に復
調する手段を備え、 上記パルス列のデューテイ比を可変させることでアナロ
グ復調信号の出力レベルを調整することを特徴とする電
子ボリューム。
1. An electronic volume adjuster for adjusting an output level of an analog signal waveform, means for modulating an analog amplitude waveform into a pulse signal having a pulse width modulated according to the amplitude, and inputting the pulse signal into a base of a switching circuit, one port The duty ratio of the pulse train that is repeatedly output from the control circuit is varied and controlled according to the volume setting amount, and smoothed to obtain a voltage that varies according to the volume setting amount. And a means for demodulating a pulse width modulated signal having an amplitude corresponding to the voltage output from the open collector into an analog signal waveform, by varying the duty ratio of the pulse train, the output level of the analog demodulated signal An electronic volume that is characterized by adjusting.
【請求項2】 上記デューテイ比の可変は、Xデシベル
ボリュームを下げたい場合、上記パルス列における論理
「1」の数をN個とすれば、論理「1」の数をN・10
X/20個のパルスとする式を用いて行うことを特徴とする
請求項第1項記載の電子ボリューム。
2. The variable duty ratio is such that, when it is desired to lower the X decibel volume, if the number of logic "1" s in the pulse train is N, the number of logic "1" s is N.10.
The electronic volume according to claim 1, wherein the electronic volume is calculated by using an equation that has X / 20 pulses.
JP27599093A 1993-10-08 1993-10-08 Electronic volume Pending JPH07111427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27599093A JPH07111427A (en) 1993-10-08 1993-10-08 Electronic volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27599093A JPH07111427A (en) 1993-10-08 1993-10-08 Electronic volume

Publications (1)

Publication Number Publication Date
JPH07111427A true JPH07111427A (en) 1995-04-25

Family

ID=17563240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27599093A Pending JPH07111427A (en) 1993-10-08 1993-10-08 Electronic volume

Country Status (1)

Country Link
JP (1) JPH07111427A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006295456A (en) * 2005-04-08 2006-10-26 Nippon Telegr & Teleph Corp <Ntt> Optical wireless receiver
JP2011039131A (en) * 2009-08-07 2011-02-24 Yazaki Corp Sounding body drive device
US7902482B2 (en) * 2002-06-14 2011-03-08 Mitsubishi Denki Kabushiki Kaisha Laser machining apparatus and control method for the apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7902482B2 (en) * 2002-06-14 2011-03-08 Mitsubishi Denki Kabushiki Kaisha Laser machining apparatus and control method for the apparatus
JP2006295456A (en) * 2005-04-08 2006-10-26 Nippon Telegr & Teleph Corp <Ntt> Optical wireless receiver
JP2011039131A (en) * 2009-08-07 2011-02-24 Yazaki Corp Sounding body drive device

Similar Documents

Publication Publication Date Title
CA1212776A (en) Analog and digital signal apparatus
US3974461A (en) Wide dynamic range voltage controlled filter for electronic musical instruments
JPS6359109A (en) Automatic gain controller
US20040183635A1 (en) Apparatus, methods and articles of manufacture for digital modification in electromagnetic signal processing
JPH07111427A (en) Electronic volume
JP2006187003A (en) Three-channel state-variable compression circuit
US5350956A (en) Deviation limiting transmission circuit
JP2001507912A (en) Audio system having audio signal processing circuit
US6944284B2 (en) Pulsed volume control of a magnetic ringer
WO2000030403A3 (en) Dynamic bass control circuit with variable cut-off frequency
US4039949A (en) Pulse code modulation with dynamic range limiting
JP3259586B2 (en) Volume control device and method
JP2718030B2 (en) Auditory correction circuit
JPH0516727Y2 (en)
JPS5926386Y2 (en) reverberation device
JP3034159B2 (en) Ringer drive circuit
JPH0314817Y2 (en)
JPS61181214A (en) Tone quality adjusting circuit
KR870001942Y1 (en) Voice band control circuit in audio system
JPS6321698A (en) Buzzer sound volume adjustor
JPS587435Y2 (en) Electronic musical instrument effect circuit
JPS6143306Y2 (en)
JPH0724809Y2 (en) Tone control device
JPS61258533A (en) Amplitude variable da conversion integrated circuit
JPS63189005A (en) Sound volume controller