JP3062678B2 - Waveform output circuit - Google Patents

Waveform output circuit

Info

Publication number
JP3062678B2
JP3062678B2 JP7114319A JP11431995A JP3062678B2 JP 3062678 B2 JP3062678 B2 JP 3062678B2 JP 7114319 A JP7114319 A JP 7114319A JP 11431995 A JP11431995 A JP 11431995A JP 3062678 B2 JP3062678 B2 JP 3062678B2
Authority
JP
Japan
Prior art keywords
output
waveform data
data
circuit
waveform
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
JP7114319A
Other languages
Japanese (ja)
Other versions
JPH08307272A (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.)
Seiko Time Creation Inc
Original Assignee
Seiko Clock 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 Seiko Clock Inc filed Critical Seiko Clock Inc
Priority to JP7114319A priority Critical patent/JP3062678B2/en
Publication of JPH08307272A publication Critical patent/JPH08307272A/en
Application granted granted Critical
Publication of JP3062678B2 publication Critical patent/JP3062678B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本願に係わる発明は、音響波形等
を出力するための波形出力回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform output circuit for outputting an acoustic waveform or the like.

【0002】[0002]

【従来の技術】従来より、電源電圧が低い場合でも大き
な出力が得られる発音効率のよいスピーカの駆動回路と
して、図8に示すような回路が知られている。
2. Description of the Related Art Conventionally, a circuit as shown in FIG. 8 has been known as a speaker driving circuit having high sound generation efficiency capable of obtaining a large output even when a power supply voltage is low.

【0003】波形データ発生回路WDGは、音声信号合
成処理回路や楽音発生回路等を用いて構成され、nビッ
トのデジタル表現された波形データを発生するものであ
る。この波形データは、図9に示すように補数表現され
たものであり、最上位ビット(MSB)は符号ビットで
あり、それ以外の(n−1)ビットは波形の振幅値を表
した振幅データとなっている。補数回路CMPは、波形
データが負(MSB=1)のときには(n−1)ビット
の入力データを補数に変換したデータを出力し、波形デ
ータが正(MSB=0)のときには入力データをそのま
ま出力するものである。D/AコンバータDAC1は波
形データ正側のみをD/A変換するものであり、D/A
コンバータDAC2は波形データ負側のみをD/A変換
するものである。駆動回路DRは、D/AコンバータD
AC1およびDAC2からの出力信号を受けてスピーカ
SPを駆動するものである。
[0003] The waveform data generation circuit WDG is configured using an audio signal synthesis processing circuit, a tone generation circuit, and the like, and generates n-bit digitally expressed waveform data. This waveform data is represented by a complement as shown in FIG. 9. The most significant bit (MSB) is a sign bit, and the other (n-1) bits are amplitude data representing the amplitude value of the waveform. It has become. When the waveform data is negative (MSB = 1), the complement circuit CMP outputs data obtained by converting (n-1) -bit input data into a complement, and when the waveform data is positive (MSB = 0), the input data remains unchanged. Output. The D / A converter DAC1 performs D / A conversion only on the positive side of the waveform data.
The converter DAC2 performs D / A conversion only on the negative side of the waveform data. The drive circuit DR includes a D / A converter D
The speaker SP is driven by receiving output signals from the AC1 and the DAC2.

【0004】波形データが正の場合(MSB=0)に
は、トランジスタTR1がオン状態となりトランジスタ
TR2がオフ状態となるため、DAコンバータDAC1
の出力信号がトランジスタTR3によって増幅されてス
ピーカSPから出力される。波形データが負の場合(M
SB=1)には、トランジスタTR2がオン状態となり
トランジスタTR1がオフ状態となるため、DAコンバ
ータDAC2の出力信号がトランジスタTR4によって
増幅されてスピーカSPから出力される。このように、
波形データが正の場合と負の場合とではスピーカSPに
流れる電流が互いに逆方向となり、発音効率のよいB級
プッシュプル出力が得られる。
When the waveform data is positive (MSB = 0), the transistor TR1 is turned on and the transistor TR2 is turned off.
Is amplified by the transistor TR3 and output from the speaker SP. When the waveform data is negative (M
In SB = 1), the transistor TR2 is turned on and the transistor TR1 is turned off, so that the output signal of the DA converter DAC2 is amplified by the transistor TR4 and output from the speaker SP. in this way,
When the waveform data is positive and when the waveform data is negative, the currents flowing through the speaker SP are in opposite directions, and a class B push-pull output with good sounding efficiency is obtained.

【0005】[0005]

【発明が解決しようとする課題】近年、電子機器の高付
加価値化が求められるにしたがい、音響発生用LSIの
使用される状況も多様化しつつある。例えば、音声合成
用LSIとメロディ発生用LSIとを並列使用したり、
メロディの同時発音数をふやすために複数のメロディ用
LSIを同時に発音させたり、他の音響機器に接続した
りする等、種々の使われ方がなされている。このような
場合にはA級出力信号を用いる必要があるが、図8に示
した回路を用いてA級出力信号を得るためには、図10
に示すようにトランジシタを4個使用した電流電圧変換
回路を接続する必要がある。したがって、回路の小型化
や低コスト化の妨げになるという問題点があった。
In recent years, as electronic devices have been required to have higher added value, the situations in which sound generating LSIs are used have been diversified. For example, a speech synthesis LSI and a melody generation LSI may be used in parallel,
In order to increase the number of simultaneous sounds of a melody, various uses are made, such as simultaneous sounding of a plurality of LSIs for a melody or connection to other audio equipment. In such a case, it is necessary to use a class A output signal. To obtain a class A output signal using the circuit shown in FIG.
It is necessary to connect a current-voltage conversion circuit using four transistors as shown in FIG. Therefore, there has been a problem that the miniaturization and cost reduction of the circuit are hindered.

【0006】本願に係わる発明の目的は、通常はB級プ
ッシュプル出力が得られ、簡単な回路を付加するだけで
A級出力を得ることが可能な波形出力装置を提供するこ
とである。
It is an object of the present invention to provide a waveform output device which can normally obtain a class B push-pull output and can obtain a class A output by adding a simple circuit.

【0007】[0007]

【課題を解決するための手段】本願に係わる波形出力回
路は、第1モードまたは第2モードを選択する選択手段
と、極性を示す符号ビットと振幅データからなるデジタ
ル表現された波形データを発生する波形データ発生手段
と、上記波形データをD/A変換する第1および第2D
/A変換手段と、上記第1モードが選択されているとき
には上記波形データの符号ビットが正の場合に上記第1
D/A変換手段を動作させ上記波形データの振幅データ
を正のアナログ信号として変換させるとともに上記第2
D/A変換回路を非動作状態にし上記波形データの符号
ビットが負の場合に上記第2D/A変換手段を動作させ
上記波形データの振幅データを負のアナログ信号として
変換させるとともに上記第1D/A変換回路を非動作状
態にし、上記選択手段で第2モードが選択されていると
きには上記第1および第2D/A変換手段のうち上記第
1D/A変換手段のみを動作させ上記波形データの振幅
データに上記符号ビットを加えた波形データを変換させ
て上記波形データの極性にかかわらず常に正のアナログ
信号を出力させる制御手段と、上記第1モードが選択さ
れているときには、上記符号ビットが正のときには上記
第1D/A変換手段の出力に基づきある方向に電流を流
し、上記符号ビットが負のときには上記第2D/A変換
手段の出力に基づき前記方向とは逆方向へ電流を流す
級プッシュプル出力を発生する駆動回路と、上記第2モ
ードが選択されているときには上記第1D/A変換手段
の出力に基づきA級出力を発生する出力端子とを有する
ことを特徴とする。
SUMMARY OF THE INVENTION A waveform output circuit according to the present invention generates a digitally expressed waveform data consisting of a sign bit indicating a polarity and amplitude data, and a selecting means for selecting a first mode or a second mode. Waveform data generating means, and first and second D / A converters for D / A converting the waveform data
/ A conversion means, and the first mode is selected when the sign bit of the waveform data is positive when the first mode is selected.
The D / A converter is operated to convert the amplitude data of the waveform data as a positive analog signal,
When the D / A conversion circuit is deactivated and the sign bit of the waveform data is negative, the second D / A conversion means is operated to convert the amplitude data of the waveform data as a negative analog signal and to perform the first D / A conversion. When the A conversion circuit is in a non-operating state and the second mode is selected by the selection means, only the first D / A conversion means of the first and second D / A conversion means is operated and the amplitude of the waveform data is increased. Control means for converting the waveform data obtained by adding the sign bit to the data to always output a positive analog signal irrespective of the polarity of the waveform data; and when the first mode is selected , the sign bit becomes positive. Above
A current flows in a certain direction based on the output of the first D / A conversion means.
When the sign bit is negative, the second D / A conversion
A current flowing in a direction opposite to the above direction based on the output of the means B
A drive circuit for generating a class push-pull output, and an output terminal for generating a class A output based on the output of the first D / A converter when the second mode is selected.

【0008】[0008]

【実施例】以下、図1〜図5を参照して実施例の説明を
行なう。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS.

【0009】図1は、実施例に係わる波形出力回路を示
した図である。
FIG. 1 is a diagram showing a waveform output circuit according to an embodiment.

【0010】波形データ発生回路WDGは、音響信号を
デジタル処理することによりデジタル表現された波形デ
ータを発生するものであり、音声信号合成処理回路や楽
音発生回路等がこれに該当する。この波形データ発生回
路WDGから発生するnビット構成のデジタル波形デー
タは、補数表現されたものであり(2の補数(2´sコ
ンプリメント)または1の補数(1´sコンプリメン
ト)で表現されたものであるが、本実施例において1の
補数で表現されているものとする。以下、本実施例では
特にことわらない限り補数は1の補数を意味するものと
する。)、最上位ビット(MSB)は符号ビットであ
り、それ以外の(n−1)ビットは波形の振幅値を表し
た振幅データとなっている(図3参照)。
The waveform data generation circuit WDG generates digitally represented waveform data by digitally processing an audio signal, and corresponds to a voice signal synthesis processing circuit, a musical sound generation circuit, and the like. The n-bit digital waveform data generated from the waveform data generation circuit WDG is represented by a complement (2's complement (2's complement) or 1's complement (1's complement)). However, in this embodiment, it is assumed that the complement is represented by one's complement.In the following, in this embodiment, the complement means the one's complement unless otherwise specified.) (MSB) is a sign bit, and the other (n-1) bits are amplitude data representing the amplitude value of the waveform (see FIG. 3).

【0011】補数回路CMPは、波形データ発生回路W
DGからの(n−1)ビットの振幅データを入力し、制
御端子に入力されるイネーブル信号EN3が論理値
“1”のときには入力データを補数表現に変換したデー
タを出力し、イネーブル信号EN3が論理値“0”のと
きには入力データをそのまま出力するものである。
The complement circuit CMP has a waveform data generation circuit W
When (n-1) -bit amplitude data from the DG is input, and when the enable signal EN3 input to the control terminal is a logical value "1", data obtained by converting the input data into a complement representation is output, and the enable signal EN3 is output. When the logical value is "0", the input data is output as it is.

【0012】D/AコンバータDAC1は、nビット構
成の電流加算型D/Aコンバータであり、複数のスイッ
チ回路SA1 〜SAn および複数の電流源IA1 〜IA
n で構成されている。すなわち、各電流源IA1 〜IA
n にはそれぞれ20 〜2n-1の重み付けがされており、
スイッチ回路SA1 〜SAn のオンオフ状態(制御端子
の論理値が“1”のときにオン状態、制御端子の論理値
が“0”のときにオフ状態)に応じた電流がD/Aコン
バータDAC1から出力される。
The D / A converter DAC1 is an n-bit current addition type D / A converter, and includes a plurality of switch circuits SA1 to SAn and a plurality of current sources IA1 to IA.
It consists of n. That is, the current sources IA1 to IA
n is weighted from 20 to 2n-1 respectively.
The current corresponding to the on / off state of the switch circuits SA1 to SAn (the on state when the logical value of the control terminal is "1" and the off state when the logical value of the control terminal is "0") is supplied from the D / A converter DAC1. Is output.

【0013】D/AコンバータDAC2は、(n−1)
ビットの電流加算型D/Aコンバータであり、複数のス
イッチ回路SB1 〜SBn および複数の電流源IB1 〜
IBn で構成されている。このD/AコンバータDAC
2の基本的な構成は、(n−1)ビット構成である点を
除いて、D/AコンバータDAC1と同様である。
The D / A converter DAC2 has (n-1)
This is a bit current addition type D / A converter, and includes a plurality of switch circuits SB1 to SBn and a plurality of current sources IB1 to IB1.
IBn. This D / A converter DAC
The basic configuration of D / A converter DAC1 is the same as that of D / A converter DAC1 except that the configuration is (n-1) bits.

【0014】選択スイッチSELは、本波形出力回路の
モードを選択するものであり、オフ状態(出力が論理値
“0”)のときには第1モードが選択され、オン状態
(出力が論理値“1”)のときには第2モードが選択さ
れる。第1モードが選択されている場合には、波形デー
タ発生回路WDGから生じる波形データの極性に応じて
D/AコンバータDAC1またはD/AコンバータDA
C2が動作状態となり、例えば図2に示すような回路を
接続することによりB級プッシュプル出力を得ることが
できる。第2モードが選択されている場合には、波形デ
ータ発生回路WDGから生じる波形データの極性によら
ずD/AコンバータDAC1からA級出力を得ることが
できる。この選択スイッチSELは、外部のマニュアル
スイッチを用いてもよいし、トランジスタ等の内部的な
スイッチを用いてももよい。
The selection switch SEL selects the mode of the waveform output circuit. When the selection switch SEL is in the off state (output is a logical value "0"), the first mode is selected, and in the on state (output is a logical value "1"). "), The second mode is selected. When the first mode is selected, the D / A converter DAC1 or the D / A converter DA1 depends on the polarity of the waveform data generated from the waveform data generation circuit WDG.
C2 is in an operating state, and a class B push-pull output can be obtained by connecting a circuit as shown in FIG. 2, for example. When the second mode is selected, a class A output can be obtained from the D / A converter DAC1 regardless of the polarity of the waveform data generated from the waveform data generation circuit WDG. As the selection switch SEL, an external manual switch may be used, or an internal switch such as a transistor may be used.

【0015】つぎに、図1〜図5を参照して実施例の動
作を説明する。
Next, the operation of the embodiment will be described with reference to FIGS.

【0016】まず、選択スイッチSELにより第1モー
ドが選択され、B級プッシュプル出力を得る場合の動作
について、図1〜図4を参照して説明する。
First, the operation in the case where the first mode is selected by the selection switch SEL and a class B push-pull output is obtained will be described with reference to FIGS.

【0017】選択スイッチSELはオフ状態であるた
め、その出力論理値が“0”となっている。以下、波形
データ発生回路WDGから出力される補数表現された波
形データ(nビット構成)が正の場合(波形データの最
上位ビット(MSB)すなわち符号ビットが0の場合
(MSB=0))と負の場合(MSB=1)とに分けて
説明する。
Since the selection switch SEL is in the off state, its output logic value is "0". Hereinafter, the case where the complemented waveform data (consisting of n bits) output from the waveform data generation circuit WDG is positive (when the most significant bit (MSB) of the waveform data, that is, the sign bit is 0 (MSB = 0)) The description will be made separately for the case of negative (MSB = 1).

【0018】まず、波形データが正の場合(MSB=
0)の動作について説明をする。この場合には、アンド
ゲートGB1 〜GBn-1 の一方の端子に入力されるイネ
ーブル信号EN2が“0”となるため、D/Aコンバー
タDAC2は非動作状態となる。一方、アンドゲートG
A1 〜GAn-1 の一方の端子に入力されるイネーブル信
号EN1は“1”となるため、D/AコンバータDAC
1は動作状態となる。補数回路CMPでは、その制御端
子に入力されるイネーブル信号EN3が“0”となるた
め、補数回路CMPからは波形データ発生回路WDGか
らの(n−1)ビットの補数表現された振幅データがそ
のまま出力される(図3および図4(a)参照)。これ
らの(n−1)ビットの補数表現された振幅データDA
1 〜DAn-1 は、アンドゲートGA1 〜GAn-1 の他方
の端子を通してスイッチ回路SA1〜SAn-1 の制御端
子に入力されるため、補数表現された振幅データDA1
〜DAn-1 に応じてスイッチ回路SA1 〜SAn-1 のオ
ンオフ状態が定まる。また、アンドゲートGAn の一方
の端子は常に“0”となっているため、スイッチ回路S
An は常にオフ状態となっている。したがって、D/A
コンバータDAC1の出力端子OUT1からは、波形デ
ータ発生回路WDGからの(n−1)ビットの補数表現
された振幅データに応じたアナログ信号が出力されるこ
とになる。
First, when the waveform data is positive (MSB =
Operation 0) will be described. In this case, the enable signal EN2 input to one of the terminals of the AND gates GB1 to GBn-1 becomes "0", so that the D / A converter DAC2 is in a non-operating state. On the other hand, AND gate G
Since the enable signal EN1 input to one of the terminals A1 to GAn-1 is "1", the D / A converter DAC
1 is in the operating state. In the complement circuit CMP, the enable signal EN3 input to the control terminal thereof becomes “0”, so that the complement data of the (n−1) -bit complemented amplitude data from the waveform data generation circuit WDG is output from the complement circuit CMP. It is output (see FIGS. 3 and 4A). These (n-1) -bit complemented amplitude data DA
Since 1 to DAn-1 are input to the control terminals of the switch circuits SA1 to SAn-1 through the other terminals of the AND gates GA1 to GAn-1, the amplitude data DA1 expressed in complements is input.
The on / off states of the switch circuits SA1 to SAn-1 are determined according to .DELTA.DAn-1. Also, since one terminal of the AND gate GAn is always "0", the switch circuit S
An is always off. Therefore, D / A
From the output terminal OUT1 of the converter DAC1, an analog signal corresponding to (n-1) -bit complemented amplitude data from the waveform data generation circuit WDG is output.

【0019】つぎに、波形データが負の場合(MSB=
1)の動作について説明する。この場合には、アンドゲ
ートGA1 〜GAn-1 の一方の端子に入力されるイネー
ブル信号EN1が“0”となるため、D/Aコンバータ
DAC1は非動作状態となる。一方、アンドゲートGB
1 〜GBn-1 の一方の端子に入力されるイネーブル信号
EN2は“1”となるため、D/AコンバータDAC2
は動作状態となる。補数回路CMPでは、その制御端子
に入力されるイネーブル信号EN3が“1”となるた
め、補数回路CMPからは波形データ発生回路WDGか
らの(n−1)ビットの補数表現された振幅データをさ
らに補数表現した振幅データが出力される。したがっ
て、補数回路CMPからは波形データを絶対値表現した
データが出力されることになる(図3および図4(b)
参照)。これらの(n−1)ビットの絶対値表現された
振幅データDB1 〜DBn-1 は、アンドゲートGB1 〜
GBn-1 の他方の端子を通してスイッチ回路SB1 〜S
Bn-1 の制御端子に入力されるため、絶対値表現された
振幅データDB1 〜DBn-1 に応じてスイッチ回路SB
1 〜SBn-1 のオンオフ状態が定まる。したがって、D
/AコンバータDAC2の出力端子OUT2からは、波
形データ発生回路WDGからの(n−1)ビットの補数
表現された振幅データを絶対値表現に変換したデータに
応じたアナログ信号が出力されることになる。
Next, when the waveform data is negative (MSB =
The operation 1) will be described. In this case, the enable signal EN1 input to one of the terminals of the AND gates GA1 to GAn-1 becomes "0", so that the D / A converter DAC1 is in a non-operating state. On the other hand, AND gate GB
Since the enable signal EN2 input to one of the terminals 1 to GBn-1 becomes "1", the D / A converter DAC2
Is in the operating state. In the complement circuit CMP, the enable signal EN3 input to the control terminal thereof becomes "1", so that the complement circuit CMP further outputs (n-1) -bit complemented amplitude data from the waveform data generation circuit WDG. The complemented amplitude data is output. Therefore, data representing the absolute value of the waveform data is output from the complement circuit CMP (FIGS. 3 and 4B).
reference). These (n-1) -bit amplitude data DB1 to DBn-1 expressed in absolute values are provided by AND gates GB1 to GB1.
Switch circuits SB1 to SB1 through the other terminal of GBn-1.
Bn-1 is input to the control terminal of the switch circuit SB according to the amplitude data DB1 to DBn-1 expressed in absolute values.
The on / off states of 1 to SBn-1 are determined. Therefore, D
From the output terminal OUT2 of the / A converter DAC2, an analog signal corresponding to data obtained by converting (n-1) -bit complemented amplitude data from the waveform data generation circuit WDG into an absolute value is output. Become.

【0020】以上のように、選択スイッチSELにより
第1モードが選択されている場合には、波形データ発生
回路WDGから出力される補数表現されたnビットの波
形データ(符号ビットおよび(n−1)ビットの振幅デ
ータ、図3参照)は、その極性が正の場合にはD/Aコ
ンバータDAC1から正のアナログ信号として出力され
(図4(a)参照)、その極性が負の場合にはD/Aコ
ンバータDAC2から負のアナログ信号として出力され
る(図4(b)参照)。したがって、図1に示した波形
出力回路を図2に示した駆動回路DRに接続することに
よりB級プッシュプル出力を得ることができる。以下、
この場合の動作について説明する。
As described above, when the first mode is selected by the selection switch SEL, the complemented n-bit waveform data (sign bit and (n−1)) output from the waveform data generation circuit WDG are output. ) Bit amplitude data (see FIG. 3) is output from the D / A converter DAC1 as a positive analog signal when the polarity is positive (see FIG. 4A), and when the polarity is negative. The signal is output from the D / A converter DAC2 as a negative analog signal (see FIG. 4B). Therefore, a class B push-pull output can be obtained by connecting the waveform output circuit shown in FIG. 1 to the drive circuit DR shown in FIG. Less than,
The operation in this case will be described.

【0021】波形データが正の場合(MSB=0)に
は、図2に示したトランジスタTR1がオン状態とな
り、トランジスタTR2がオフ状態となる。したがっ
て、図1に示したDAコンバータDAC1の出力端子O
UT1からの信号がトランジスタTR3によって増幅さ
れ、スピーカSPから出力される。波形データが負の場
合(MSB=1)には、図2に示したトランジスタTR
2がオン状態となり、トランジスタTR1がオフ状態と
なる。したがって、図1に示したDAコンバータDAC
2の出力端子OUT2からの信号がトランジスタTR4
によって増幅され、スピーカSPから出力される。この
ように、波形データが正の場合と負の場合とではスピー
カSPに流れる電流が互いに逆方向となり、発音効率の
よいB級プッシュプル出力が得られる。
When the waveform data is positive (MSB = 0), the transistor TR1 shown in FIG. 2 is turned on and the transistor TR2 is turned off. Therefore, the output terminal O of the DA converter DAC1 shown in FIG.
The signal from UT1 is amplified by transistor TR3 and output from speaker SP. When the waveform data is negative (MSB = 1), the transistor TR shown in FIG.
2 is turned on, and the transistor TR1 is turned off. Therefore, the DA converter DAC shown in FIG.
2 from the output terminal OUT2 of the transistor TR4
And amplified by the speaker SP. As described above, the current flowing through the speaker SP is opposite to each other when the waveform data is positive and when the waveform data is negative, so that a class B push-pull output with high sound generation efficiency can be obtained.

【0022】つぎに、選択スイッチSELにより第2モ
ードが選択され、A級出力を得る場合の動作について、
図1、図3および図5を参照して説明する。
Next, the operation when the second mode is selected by the selection switch SEL and a class A output is obtained will be described.
This will be described with reference to FIGS. 1, 3, and 5.

【0023】選択スイッチSELはオン状態であるた
め、その出力論理値が“1”となっている。したがっ
て、アンドゲートGA1 〜GAn-1 の一方の端子に入力
されるイネーブル信号EN1およびアンドゲートGAn
の一方の端子に入力される信号は常に“1”となるた
め、D/AコンバータDAC1は動作状態となる。ま
た、補数回路CMPでは、その制御端子に入力されるイ
ネーブル信号EN3が常に“0”となるため、補数回路
CMPからは波形データ発生回路WDGからの(n−
1)ビットの補数表現された振幅データがそのまま出力
される(図3参照)。また、アンドゲートGAn の他方
の端子は、波形データが正の場合(MSB=0)には論
理値“1”となり、波形データが負の場合(MSB=
1)には論理値“0”となる。したがって、アンドゲー
トGA1 〜GAn の他方の端子に入力されるデータDA
1 〜DAn は図5に示すようなものとなり、これらのデ
ータDA1 〜DAn がスイッチ回路SA1 〜SAn の制
御端子にそのまま入力されることとなる。すなわち、ス
イッチ回路SA1 〜SAn の制御端子に入力されるデー
タ(図5参照)は、波形データ発生回路WDGから生じ
る波形データの極性にかかわらず、絶対値表現で常に正
の値をとることになる。したがって、D/Aコンバータ
DAC1からは常に正のアナログ信号が出力され、端子
OUT1からA級出力を得ることができる。この場合、
抵抗R0およびキャパシタC0を接続して、端子OUT
3から信号を取り出せばよい。
Since the selection switch SEL is in the ON state, its output logic value is "1". Therefore, the enable signal EN1 input to one terminal of the AND gates GA1 to GAn-1 and the AND gate GAn
Is always "1", so that the D / A converter DAC1 is in the operating state. In the complement circuit CMP, the enable signal EN3 input to the control terminal of the complement circuit CMP is always "0".
1) The amplitude data represented by the complement of bits is output as it is (see FIG. 3). The other terminal of the AND gate GAn has a logical value "1" when the waveform data is positive (MSB = 0), and has a negative value (MSB =
1) has a logical value "0". Therefore, the data DA input to the other terminals of the AND gates GA1 to GAn
1 to DAn are as shown in FIG. 5, and these data DA1 to DAn are directly input to the control terminals of the switch circuits SA1 to SAn. That is, the data input to the control terminals of the switch circuits SA1 to SAn (see FIG. 5) always takes a positive value in absolute value expression regardless of the polarity of the waveform data generated from the waveform data generation circuit WDG. . Therefore, a positive analog signal is always output from the D / A converter DAC1, and a class A output can be obtained from the terminal OUT1. in this case,
By connecting the resistor R0 and the capacitor C0, the terminal OUT
The signal may be extracted from the third signal.

【0024】以上のように、選択スイッチSELで第2
モードを選択することによりA級出力を得ることができ
るので、図6に示すように図1に示した複数の波形出力
回路の出力どうしを接続したり、図7に示すように図1
に示した波形出力回路と他の波形出力回路等の出力どう
しを接続したりすることが容易にできる。
As described above, the second selection switch SEL
By selecting a mode, a class A output can be obtained. Therefore, as shown in FIG. 6, the outputs of the plurality of waveform output circuits shown in FIG. 1 are connected to each other, or as shown in FIG.
Can be easily connected to the outputs of the other waveform output circuits and the like.

【0025】なお、上記実施例では、DAコンバータD
AC1およびDAC2に電流加算型のものを用いたが、
ラダー抵抗型等の他のDAコンバータを用いてもよい。
In the above embodiment, the DA converter D
AC1 and DAC2 used current addition type,
Other DA converters such as a ladder resistance type may be used.

【0026】また、上記実施例において、DAコンバー
タDAC1およびDAC2の出力電位の変動を防ぐため
に、DAコンバータDAC1およびDAC2の出力にカ
レントミラーや高入力インピーダンスのアンプを接続し
てもよい。
In the above embodiment, a current mirror or an amplifier having a high input impedance may be connected to the outputs of the DACs DAC1 and DAC2 in order to prevent the output potentials of the DACs DAC1 and DAC2 from fluctuating.

【0027】[0027]

【発明の効果】本願に係わる発明では、通常はB級プッ
シュプル出力が得られ、簡単な回路を付加するだけでA
級出力を得ることが可能な波形出力装置を得ることがで
きるので、回路の小型化や低コスト化をはかることが可
能となる。したがって、複数の波形出力回路の出力どう
しを複数接続したり、波形出力回路と他の波形出力回路
等の出力どうしを接続したりすることを容易に行うこと
が可能となる。
In the invention according to the present invention, a class B push-pull output is normally obtained, and A is obtained by simply adding a simple circuit.
Since a waveform output device capable of obtaining a class output can be obtained, it is possible to reduce the size and cost of the circuit. Therefore, it is possible to easily connect a plurality of outputs of a plurality of waveform output circuits or to connect outputs of a waveform output circuit and other waveform output circuits.

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

【図1】本願の実施例に係わる波形出力回路を示した図FIG. 1 is a diagram showing a waveform output circuit according to an embodiment of the present application.

【図2】図1に示した回路によって得られるB形プッシ
ュプル出力を用いてスピーカを駆動するための回路を示
した図
FIG. 2 is a diagram showing a circuit for driving a speaker using a B-type push-pull output obtained by the circuit shown in FIG. 1;

【図3】図1に示した波形出力回路の動作を説明するた
めの図
FIG. 3 is a diagram for explaining the operation of the waveform output circuit shown in FIG. 1;

【図4】図1に示した波形出力回路の動作を説明するた
めの図
FIG. 4 is a diagram for explaining the operation of the waveform output circuit shown in FIG.

【図5】図1に示した波形出力回路の動作を説明するた
めの図
FIG. 5 is a diagram for explaining the operation of the waveform output circuit shown in FIG.

【図6】図1に示した回路によって得られるA形出力を
利用した音響発生装置の構成例を示した図
FIG. 6 is a diagram showing a configuration example of a sound generator using an A-type output obtained by the circuit shown in FIG. 1;

【図7】図1に示した回路によって得られるA形出力を
利用した音響発生装置の構成例を示した図
FIG. 7 is a diagram showing a configuration example of a sound generator using an A-type output obtained by the circuit shown in FIG. 1;

【図8】従来例に係わる波形出力回路を示した図FIG. 8 is a diagram showing a waveform output circuit according to a conventional example.

【図9】図8に示した波形出力回路の動作を説明するた
めの図
9 is a diagram for explaining the operation of the waveform output circuit shown in FIG.

【図10】図8に示した回路を用いてA級出力を得るた
めの回路を示した図
FIG. 10 is a diagram showing a circuit for obtaining a class A output using the circuit shown in FIG. 8;

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

SEL……選択手段 WDG……波形データ発生手段 DAC1……第1D/A変換手段 DAC2……第2D/A変換手段CC……制御手段 DR……駆動回路 OUT3……出力端子 SEL ... Selecting means WDG ... Waveform data generating means DAC1 ... First D / A converting means DAC2 ... Second D / A converting means CC ... Control means DR ... Drive circuit OUT3 ... Output terminal

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1モードまたは第2モードを選択する
選択手段と、 極性を示す符号ビットと振幅データからなるデジタル表
現された波形データを発生する波形データ発生手段と、 上記波形データをD/A変換する第1および第2D/A
変換手段と、 上記第1モードが選択されているときには上記波形デー
タの符号ビットが正の場合に上記第1D/A変換手段を
動作させ上記波形データの振幅データを正のアナログ信
号として変換させるとともに上記第2D/A変換回路を
非動作状態にし上記波形データの符号ビットが負の場合
に上記第2D/A変換手段を動作させ上記波形データの
振幅データを負のアナログ信号として変換させるととも
に上記第1D/A変換回路を非動作状態にし、上記選択
手段で第2モードが選択されているときには上記第1お
よび第2D/A変換手段のうち上記第1D/A変換手段
のみを動作させ上記波形データの振幅データに上記符号
ビットを加えた波形データを変換させて上記波形データ
の極性にかかわらず常に正のアナログ信号を出力させる
制御手段と、 上記第1モードが選択されているときには、上記符号ビ
ットが正のときには上記第1D/A変換手段の出力に基
づきある方向に電流を流し、上記符号ビットが負のとき
には上記第2D/A変換手段の出力に基づき前記方向と
は逆方向へ電流を流すB級プッシュプル出力を発生する
駆動回路と、 上記第2モードが選択されているときには上記第1D/
A変換手段の出力に基づきA級出力を発生する出力端子
とを含むことを特徴とする波形出力回路。
A selecting means for selecting a first mode or a second mode; a waveform data generating means for generating digitally expressed waveform data comprising a sign bit indicating a polarity and amplitude data; First and second D / A for A conversion
Converting means, when the first mode is selected, when the sign bit of the waveform data is positive, operates the first D / A converting means to convert the amplitude data of the waveform data as a positive analog signal; The second D / A conversion circuit is deactivated, and when the sign bit of the waveform data is negative, the second D / A conversion means is operated to convert the amplitude data of the waveform data as a negative analog signal. The 1D / A conversion circuit is deactivated, and when the second mode is selected by the selection means, only the first D / A conversion means of the first and second D / A conversion means is operated to generate the waveform data. Control to convert the waveform data obtained by adding the sign bit to the amplitude data of, and always output a positive analog signal regardless of the polarity of the waveform data Means, and when the first mode is selected , the code code
When the value is positive, the output of the first D / A conversion means is used.
Current in a certain direction, and the above sign bit is negative
The direction and the direction based on the output of the second D / A conversion means.
Is a drive circuit that generates a class B push-pull output that allows current to flow in the reverse direction; and the first D / D when the second mode is selected.
An output terminal for generating a class A output based on the output of the A conversion means.
JP7114319A 1995-05-12 1995-05-12 Waveform output circuit Expired - Lifetime JP3062678B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7114319A JP3062678B2 (en) 1995-05-12 1995-05-12 Waveform output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7114319A JP3062678B2 (en) 1995-05-12 1995-05-12 Waveform output circuit

Publications (2)

Publication Number Publication Date
JPH08307272A JPH08307272A (en) 1996-11-22
JP3062678B2 true JP3062678B2 (en) 2000-07-12

Family

ID=14634877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7114319A Expired - Lifetime JP3062678B2 (en) 1995-05-12 1995-05-12 Waveform output circuit

Country Status (1)

Country Link
JP (1) JP3062678B2 (en)

Also Published As

Publication number Publication date
JPH08307272A (en) 1996-11-22

Similar Documents

Publication Publication Date Title
US6362765B2 (en) D/A converter
JP3677181B2 (en) Variable resistance circuit and D / A converter
JP2006303618A (en) Speaker driving system
US6927715B2 (en) Device and control structure of multi-level pulse width modulation
JP3062678B2 (en) Waveform output circuit
EP1473835A2 (en) Per-element resampling for a digital-to-analog converter
US5631647A (en) Analog multiplying type of digital/analog converter circuit
JP3029926B2 (en) DA converter
JPH06132828A (en) D/a converter
US6263304B1 (en) Simplified digitization of PC beep signal for audio codec
US6992607B2 (en) Speech synthesizer
JPH0443920Y2 (en)
WO2022030130A1 (en) Electronic circuit
US20050015419A1 (en) Techniques to provide programmable finite impulse response filtering
JP2877983B2 (en) A / D converter circuit
US6236349B1 (en) Analog-digital converter analog-digital converting method and volume controller system
JP2000151407A (en) D/a conversion circuit
US11463100B1 (en) Digital-to-analog converter and digital-to-analog conversion method thereof
JP2546449B2 (en) D / A converter
JP3240617B2 (en) Digital level control circuit
JPH0420196B2 (en)
US6940439B2 (en) Multi-track speech synthesizer
JPH11212577A (en) Buzzer sound reproducing device
JPH0622334B2 (en) DA converter circuit
JP2001185961A (en) Digital amplifier

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20140512

Year of fee payment: 14

EXPY Cancellation because of completion of term